mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 16:58:25 +03:00
fix: return a cleanup fn too
This commit is contained in:
@@ -43,6 +43,10 @@ export default function DashboardRoutes() {
|
||||
} else {
|
||||
setBackground(null);
|
||||
}
|
||||
|
||||
return () => {
|
||||
setBackground(null);
|
||||
};
|
||||
}, [user]);
|
||||
|
||||
if (hasVerifiedEmail === false) {
|
||||
|
||||
Reference in New Issue
Block a user