This commit is contained in:
Eric Bailey
2026-01-26 13:28:02 -06:00
parent 2886816c1e
commit 6a442675d9
3 changed files with 11 additions and 13 deletions
+10 -3
View File
@@ -1,3 +1,10 @@
export type Device = {
test?: boolean
}
/**
* Data that's specific to the device and does not vary based account.
* Values here should be optional (since they may not have been saved
* yet), hence the `Partial`.
*
* See `#/storage/schema.ts` for examples.
*/
export type Device = Partial<{
test: string
}>
+1 -1
View File
@@ -2,7 +2,7 @@ import {type ID as PolicyUpdate202508} from '#/components/PolicyUpdateOverlay/up
import {type Geolocation} from '#/geolocation/types'
/**
* Device data that's specific to the device and does not vary based account
* Data that's specific to the device and does not vary based account
*/
export type Device = {
/**
-9
View File
@@ -36,7 +36,6 @@ import {NoAccessScreen} from '#/ageAssurance/components/NoAccessScreen'
import {RedirectOverlay} from '#/ageAssurance/components/RedirectOverlay'
import {PassiveAnalytics} from '#/analytics/PassiveAnalytics'
import {FlatNavigator, RoutesContainer} from '#/Navigation'
import {deviceArchive} from '#/storage/archive'
import {Composer} from './Composer.web'
import {DrawerContent} from './Drawer'
@@ -50,14 +49,6 @@ function ShellInner() {
useIntentHandler()
useEffect(() => {
deviceArchive
.set(['test'], true)
.then(() => {
console.log('stored')
})
.catch(e => {
console.error(e)
})
const unsubscribe = navigator.addListener('state', () => {
closeAllActiveElements()
})