1
0
Fork 0

add useTheme to useApps

This commit is contained in:
Enoch Riese 2022-06-06 13:12:34 -05:00
parent 5553293476
commit 45e83c0225
5 changed files with 9 additions and 24 deletions

View file

@ -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);