This commit is contained in:
Sofiya Tepikin
2022-09-19 15:56:54 +02:00
parent f5004f2d7a
commit 9f9eadfc46
11 changed files with 16 additions and 324 deletions
-2
View File
@@ -1,5 +1,4 @@
import React, { useState, useEffect } from 'react'
import nodejs from 'nodejs-mobile-react-native'
import { getLicenseFlag, saveEncryptionFlag } from '../local-storage'
import { openDb } from '../db'
@@ -28,7 +27,6 @@ export default function AppWrapper() {
}
useEffect(() => {
nodejs.start('main.js')
checkIsLicenseAccepted()
checkIsDbEncrypted()
}, [])