From 555b689428f95bd36e7585b812127c28ad0bb094 Mon Sep 17 00:00:00 2001 From: Ben Lopata Date: Fri, 25 Oct 2024 12:45:47 -0500 Subject: [PATCH] Styling updates. --- www/app/settings/SettingsLayout.tsx | 13 ++++--- www/components/header.tsx | 4 +- www/components/settings/SettingsForm.tsx | 47 ++++++++++++++---------- www/components/sidebar.tsx | 6 +-- www/components/thoughts.tsx | 2 +- 5 files changed, 40 insertions(+), 32 deletions(-) diff --git a/www/app/settings/SettingsLayout.tsx b/www/app/settings/SettingsLayout.tsx index 3b796cc..350e2c2 100644 --- a/www/app/settings/SettingsLayout.tsx +++ b/www/app/settings/SettingsLayout.tsx @@ -10,8 +10,8 @@ import { User } from '@supabase/supabase-js'; interface SettingsProps { user: User | null; - subscription?: any | null; // Change this to the correct type when available - products?: any[] | null; // Change this to the correct type when available + subscription?: unknown | null; // Change this to the correct type when available + products?: unknown[] | null; // Change this to the correct type when available } export default function SettingsLayout({ @@ -33,16 +33,17 @@ export default function SettingsLayout({
-
+ ) : ( + )} - ); diff --git a/www/components/sidebar.tsx b/www/components/sidebar.tsx index 1062fda..635230e 100644 --- a/www/components/sidebar.tsx +++ b/www/components/sidebar.tsx @@ -114,7 +114,7 @@ export default function Sidebar({ return (
@@ -124,7 +124,7 @@ export default function Sidebar({ } top-0 left-0`} > {/* Section 1: Top buttons */} -
+