bugfix - resolved a loading issue on system
This commit is contained in:
parent
a30c12b655
commit
a3b12d63b6
|
@ -22,5 +22,5 @@ export function GTagProvider() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ThemeProvider({ children }) {
|
export function ThemeProvider({ children }) {
|
||||||
return <NTThemeProvider>{children}</NTThemeProvider>
|
return <NTThemeProvider defaultTheme = 'light'>{children}</NTThemeProvider>
|
||||||
}
|
}
|
|
@ -19,7 +19,6 @@ const Background = ({ children }: { children: ReactNode }) => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("theme", theme);
|
|
||||||
const backgroundColor = hexToRgb(colors[theme!]["base-100"]);
|
const backgroundColor = hexToRgb(colors[theme!]["base-100"]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9,7 +9,7 @@
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fluentui/react-icons": "^2.0.227",
|
"@fluentui/react-icons": "^2.0.228",
|
||||||
"@hookform/resolvers": "^3.2.0",
|
"@hookform/resolvers": "^3.2.0",
|
||||||
"@netlify/functions": "^2.1.0",
|
"@netlify/functions": "^2.1.0",
|
||||||
"@next/third-parties": "^14.1.0",
|
"@next/third-parties": "^14.1.0",
|
||||||
|
|
|
@ -44,7 +44,7 @@ const Payment = ({
|
||||||
<PriceCard loading={isLoading} />
|
<PriceCard loading={isLoading} />
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
products
|
(products ?? [])
|
||||||
.filter((x) =>
|
.filter((x) =>
|
||||||
type == "one_time" ? x.type == "one_time" : x.type != "one_time"
|
type == "one_time" ? x.type == "one_time" : x.type != "one_time"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue