Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0a597 commit 14c8824Copy full SHA for 14c8824
site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx
@@ -98,7 +98,7 @@ export const WorkspaceReadyPage = ({
98
...templateVersion(workspace.template_active_version_id),
99
enabled: workspace.outdated,
100
});
101
- const systemTheme = useState(() => {
+ const [systemTheme] = useState(() => {
102
if (typeof window.matchMedia === "undefined") {
103
// Default to dark mode!
104
return "dark";
0 commit comments