fix: 何らかのエラーがあっても無視するように
This commit is contained in:
parent
8e661d049a
commit
41d7a08c51
|
@ -17,7 +17,9 @@ export async function clearCache() {
|
||||||
miLocalStorage.removeItem('theme');
|
miLocalStorage.removeItem('theme');
|
||||||
miLocalStorage.removeItem('emojis');
|
miLocalStorage.removeItem('emojis');
|
||||||
miLocalStorage.removeItem('lastEmojisFetchedAt');
|
miLocalStorage.removeItem('lastEmojisFetchedAt');
|
||||||
await misskeyApiGet('clear-browser-cache', {});
|
await misskeyApiGet('clear-browser-cache', {}).catch(() => {
|
||||||
|
// ignore
|
||||||
|
});
|
||||||
await fetchInstance(true);
|
await fetchInstance(true);
|
||||||
await fetchCustomEmojis(true);
|
await fetchCustomEmojis(true);
|
||||||
unisonReload();
|
unisonReload();
|
||||||
|
|
Loading…
Reference in New Issue