You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
volume24h/app/utils/localstorage.ts

15 lines
298 B

import _ from 'lodash'
export const storeItem = (key: string, value: string) => {
localStorage.setItem(key, value)
}
export const getItem = (key: string) => {
const val = localStorage.getItem(key)
return val
}
export const removeItem = (key: string) => {
localStorage.removeItem(key)
}