diff --git a/videos/long/custom-react-hooks-useLocalStorage/index.tsx b/videos/long/custom-react-hooks-useLocalStorage/index.tsx index eb74c09..7f99a8b 100644 --- a/videos/long/custom-react-hooks-useLocalStorage/index.tsx +++ b/videos/long/custom-react-hooks-useLocalStorage/index.tsx @@ -1,25 +1,25 @@ -import { useState } from 'react'; +import { useState } from "react"; -import { useLocalStorage } from './useLocalStorage'; +import { useLocalStorage } from "./useLocalStorage"; const Demo = () => { - const [value, setValue] = useState(''); + const [value, setValue] = useState(""); - const { getItem, setItem, removeItem } = useLocalStorage('value'); + const { getItem, setItem, removeItem } = useLocalStorage(); return ( -