diff --git a/src/components/colorschemepicker.tsx b/src/components/colorschemepicker.tsx index cbef47a..107ba14 100644 --- a/src/components/colorschemepicker.tsx +++ b/src/components/colorschemepicker.tsx @@ -20,10 +20,8 @@ interface ColorSchemePickerProps { const getSession = async () => { 'use server'; - console.log(process.env.SESSION_SECRET); - return useSession<{ colorScheme: ColorSchemeKey }>({ - password: process.env.SESSION_SECRET!, + password: process.env.SESSION_SECRET ?? 'some_static_password_because_untill_I_figure_out_env_files...', }); };