lets debug once more...

This commit is contained in:
Chris Kruining 2024-11-21 08:22:16 +01:00
parent accd865f6b
commit 9d064b4c1c
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -20,6 +20,8 @@ interface ColorSchemePickerProps {
const getSession = async () => {
'use server';
console.log('what? why? how???', process.env.SESSION_SECRET);
return useSession<{ colorScheme: ColorSchemeKey }>({
password: process.env.SESSION_SECRET!,
});