|
|
@ -1,6 +1,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
import { Storage } from 'remix-lib' |
|
|
|
import { Storage } from 'remix-lib' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
Migrating the files to the BrowserFS storage instead or raw localstorage |
|
|
|
|
|
|
|
*/ |
|
|
|
export default (fileProvider) => { |
|
|
|
export default (fileProvider) => { |
|
|
|
const fileStorage = new Storage('sol:') |
|
|
|
const fileStorage = new Storage('sol:') |
|
|
|
if (fileStorage.keys().length === 0) return |
|
|
|
if (fileStorage.keys().length === 0) return |
|
|
|