function ThemedApp() {
  // Access the isDark state from the Redux store
  const isDark = useSelector((state) => state.ui.isDark);

  // Determine the theme based on the isDark state
  const theme = isDark ? darkTheme : lightTheme;

  return (
    <ThemeProvider theme={theme}>
      <CssBaseline />
      <App />
    </ThemeProvider>
  );
}
@file Defines the main entrypoint for the Swell app's frontend.