feat: fix theming issues

This commit is contained in:
diced
2025-02-12 22:34:10 -08:00
parent 0e825ceca0
commit 6c19a392fc
5 changed files with 61 additions and 57 deletions

View File

@@ -9,6 +9,8 @@ const f = async () => {
};
export default function useAvatar() {
const { data, mutate } = useSWR('/api/user/avatar', f);
const { data, mutate } = useSWR('/api/user/avatar', f, {
refreshInterval: 300000,
});
return { avatar: data, mutate };
}