Skip to content
Snippets Groups Projects
Unverified Commit 8c5e5640 authored by かっこかり's avatar かっこかり Committed by GitHub
Browse files

fix type error

parent 2017f911
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export async function fetchInstance(force = false): Promise<Misskey.entities.Met
const cachedAt = miLocalStorage.getItem('instanceCachedAt') ? parseInt(miLocalStorage.getItem('instanceCachedAt')!) : 0;
if (Date.now() - cachedAt < 1000 * 60 * 60) {
return;
return instance;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment