mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
!feat: major 3.0 release candidate
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import migrateLocalStorage from "../utils/migrateLocalStorage";
|
||||
|
||||
export default function useLocalMigration(): void
|
||||
{
|
||||
useEffect(() =>
|
||||
{
|
||||
if (globalThis.localStorage?.getItem("sets"))
|
||||
migrateLocalStorage().then(() => document.location.reload());
|
||||
}, []);
|
||||
}
|
||||
Reference in New Issue
Block a user