From 2ce934ee5f185de8964b723c4e5240a7c49419c8 Mon Sep 17 00:00:00 2001 From: gman Date: Mon, 6 Nov 2023 21:20:57 +0300 Subject: [PATCH 1/2] force light theme --- src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index b2b83e0..147c288 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -37,7 +37,8 @@ const router = createBrowserRouter([ function App() { return ( From 21911a249436d09e2733df081c1ad3749436af53 Mon Sep 17 00:00:00 2001 From: gman Date: Mon, 6 Nov 2023 21:21:06 +0300 Subject: [PATCH 2/2] remove console log --- src/Article.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Article.tsx b/src/Article.tsx index 22faf58..e3d8401 100644 --- a/src/Article.tsx +++ b/src/Article.tsx @@ -16,11 +16,6 @@ const useStyles = createStyles((theme) => ({ [theme.fn.smallerThan('xs')]: { fontSize: rem(28), }, - }, - - heading2: { - color: theme.colorScheme === 'dark' ? theme.white : theme.black, - paddingTop: rem(11) } })); @@ -32,7 +27,7 @@ export function Article() { const articleData = useLoaderData(); const { classes } = useStyles(); const article = articleData.data[0].attributes - console.log(articleData) + // console.log(articleData) const generateCarousel = () => { if (articleData.data[0].attributes.carousel.data) {