Skip to content

Commit 049f001

Browse files
Scott DoverScott Dover
authored andcommitted
fix: fix tsc issue
Signed-off-by: Scott Dover <[email protected]>
1 parent 9c9db5c commit 049f001

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/webview/useTheme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const useTheme = () => {
1717
useEffect(() => {
1818
const obs = new MutationObserver((record) =>
1919
setThemeKind(
20+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
2021
(record[0].target as HTMLElement).getAttribute(THEME_ATTRIBUTE),
2122
),
2223
);

0 commit comments

Comments
 (0)