mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
If it can't do it in 1s, it aint happening
This commit is contained in:
@@ -198,6 +198,8 @@ export const requestPermission = async (
|
||||
|
||||
export const resetStorage = (rootFs?: RootFileSystem): Promise<void> =>
|
||||
new Promise((resolve, reject) => {
|
||||
setTimeout(reject, 1000);
|
||||
|
||||
window.localStorage.clear();
|
||||
window.sessionStorage.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user