add useTheme to useApps
This commit is contained in:
parent
5553293476
commit
45e83c0225
5 changed files with 9 additions and 24 deletions
|
@ -1,7 +1,6 @@
|
|||
import { useState, useEffect } from 'react'
|
||||
|
||||
// See: https://usehooks.com/useLocalStorage/
|
||||
|
||||
function useLocalStorage(key, initialValue) {
|
||||
const prefix = 'fs_'
|
||||
const [storedValue, setStoredValue] = useState(initialValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue