Skip to content

Commit 35ff61e

Browse files
committed
hiding theme component until it can be added correctly
1 parent 5bbcbf6 commit 35ff61e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

app-hosts/web/src/providers/app-provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { StrictMode } from 'react';
22
import { Provider } from 'jotai';
33
import { QueryClientProvider, QueryClient } from '@tanstack/react-query';
4-
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
4+
// import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
55

66
const queryClient = new QueryClient({
77
defaultOptions: { queries: { retry: 5, retryDelay: 1000 } },
@@ -12,7 +12,7 @@ export const AppProvider = ({ children }: { children: React.ReactNode }) => {
1212
<StrictMode>
1313
<QueryClientProvider client={queryClient}>
1414
<Provider>{children}</Provider>
15-
<ReactQueryDevtools initialIsOpen={false} />
15+
{/* <ReactQueryDevtools initialIsOpen={false} /> */}
1616
</QueryClientProvider>
1717
</StrictMode>
1818
);

libs/features/header/src/lib/header/header-content.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useState } from 'react';
22

3-
import { SwitchTheme } from '@pokemon-pet-shop/feature-switch-theme';
3+
// import { SwitchTheme } from '@pokemon-pet-shop/feature-switch-theme';
44

55
import { Box, Container, Image } from '@pokemon-pet-shop/ui-primitives';
6-
import { Icon, HideInMobile } from '@pokemon-pet-shop/ui-components';
6+
// import { Icon, HideInMobile } from '@pokemon-pet-shop/ui-components';
77

88
import { NavMobileModal } from '../modal-mobile-nav/nav-mobile';
99
import { SideNavModal } from './side-nav-modal';
@@ -18,12 +18,12 @@ export const HeaderContent = () => {
1818
<NavMobileModal isOpen={isNavModalOpen} onCloseModal={() => setIsNavModalOpen(false)} />
1919
<Container className="flex w-full flex-row items-center justify-between">
2020
<Box className="flex flex-row justify-start items-center">
21-
<Icon
21+
{/* <Icon
2222
classNameIcon="md:hidden"
2323
icon="IconMenu"
2424
color="blue"
2525
onClick={() => setIsNavModalOpen(true)}
26-
/>
26+
/> */}
2727
<Image src={pokeshopLogo} className="w-[195px]" alt="Pokemon Pet Shop Logo" />
2828
</Box>
2929

@@ -43,9 +43,9 @@ export const HeaderContent = () => {
4343
) : null}
4444

4545
<Box className="flex flex-row items-center gap-sm">
46-
<HideInMobile>
46+
{/* <HideInMobile>
4747
<SwitchTheme className="invisible md:visible" />
48-
</HideInMobile>
48+
</HideInMobile> */}
4949
<SideNavModal />
5050
</Box>
5151
</Container>

0 commit comments

Comments
 (0)