Skip to content

Conversation

@DutchBen
Copy link
Collaborator

No description provided.

}: AppProps & AppOwnProps) {
const [queryClient] = useState(() => new QueryClient(queryClientConfig));

const [themeMode, setThemeMode] = useState<EuiThemeColorMode>(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _app is getting a bit bulky. Think you could move all this color-mode stuff in a separate provider.

@DutchBen DutchBen merged commit 98dadd7 into main Feb 22, 2024
@DutchBen DutchBen deleted the 99-theme-toggle branch February 22, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants