Replies: 1 comment
|
Have you tried renaming them? const { getItem: getAssetName, setItem: setAssetName } = useAsyncStorage('asset_name')
const { getItem: getImei, setItem: setImei } = useAsyncStorage('imei')
const { getItem: getDtTracker, setItem: setDtTracker } = useAsyncStorage('dt_tracker')Alternatively: const assetName = useAsyncStorage('asset_name')
const imei = useAsyncStorage('imei')
const dtTracker = useAsyncStorage('dt_tracker') |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have multiple AsyncStorage keys how can I call those?
All reactions