From 6f09cea3d2a3f4110b8985b85db892987be8cab7 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Fri, 16 Aug 2024 23:03:25 +0200 Subject: [PATCH] chore: Refactor ThemePage component to improve performance and readability --- src/components/theme-page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/theme-page.tsx b/src/components/theme-page.tsx index 6c90f47..3d0acd1 100644 --- a/src/components/theme-page.tsx +++ b/src/components/theme-page.tsx @@ -12,8 +12,8 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) { }, []); return ( -
-
+
+
{theme.name}

{theme.name}

{theme.description}

@@ -36,7 +36,7 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) {

You need to have Zen Browser installed to install this theme. Download now!


-
+
window.history.back()}>

Go back

@@ -45,7 +45,7 @@ export default function ThemePage({ theme }: { theme: ZenTheme }) { {readme === null ? ( ) : ( - {`${readme}`} + {`${readme}`} )}