This commit is contained in:
parent
f4344e0e67
commit
c5ca910e51
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use client"
|
||||||
|
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
export const useLocalStorage = <T>(key: string, initialValue: T): [T, (value: T) => void] => {
|
export const useLocalStorage = <T>(key: string, initialValue: T): [T, (value: T) => void] => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue