Skip to content

Commit

Permalink
A couple more fixes
Browse files Browse the repository at this point in the history
[dependabot skip]
  • Loading branch information
swissspidy committed Dec 2, 2024
1 parent 8ddb25c commit 79cbf58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/element-library/src/typings/styled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ import 'styled-components';
import type { Theme } from '@googleforcreators/design-system';

declare module 'styled-components' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- On purpose.
export interface DefaultTheme extends Theme {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function MediaRecordingProvider({ children }) {
// remove these devices from the list.
.filter((device) => device.label)
);
} catch (err) {
} catch {
// Do nothing for now.
}
}, []);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function LinkPanel({ selectedElements, pushUpdateForObject }) {
newIcon,
needsProxy,
});
} catch (e) {
} catch {
setIsInvalidUrl(true);
} finally {
setFetchingMetadata(false);
Expand Down

0 comments on commit 79cbf58

Please sign in to comment.