fix: theme persistence

save user theme preferences  in session instead of localStorage
This commit is contained in:
Sonny
2024-05-13 23:58:08 +02:00
committed by Sonny
parent f0e64c19fd
commit 243984ca66
7 changed files with 35 additions and 13 deletions

View File

@@ -66,7 +66,6 @@ export default function LinkControls({ link }: { link: Link }) {
.catch(console.error);
};
console.log(link.favorite, link.favorite ? 'oui' : 'non');
return (
<Dropdown
label={<BsThreeDotsVertical css={{ color: theme.colors.grey }} />}