diff --git a/src/components/ThemeControls.tsx b/src/components/ThemeControls.tsx index d932614..cd36970 100644 --- a/src/components/ThemeControls.tsx +++ b/src/components/ThemeControls.tsx @@ -26,8 +26,10 @@ import ThemeSaver from './ThemeSaver' import { ColorScheme } from '@/lib/types/colors' import { randomInteger } from '@/lib/utils/math' import { ThemeLoader } from './ThemeLoader' +import { useUser } from '@clerk/nextjs' const ThemeControls: React.FC = () => { + const { user } = useUser() const [themeName, setThemeName] = useState('') const { @@ -131,6 +133,11 @@ const ThemeControls: React.FC = () => { return (

Theme Controls

+ {!user && ( +

+ You must be logged in to save and/or download created themes. +

+ )}