Skip to content

Commit 5b06f30

Browse files
authored
fix dark theme resolution (#11718)
1 parent 1dc47bf commit 5b06f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/codeKeywords/orgAuthTokenCreator.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function OrgAuthTokenCreator() {
4141
dropdownPopperOptions
4242
);
4343
const [isAnimating, setIsAnimating] = useState(false);
44-
const {theme} = useTheme();
44+
const {resolvedTheme: theme} = useTheme();
4545
const isDarkMode = theme === 'dark';
4646

4747
const {isMounted} = useIsMounted();

0 commit comments

Comments
 (0)