update demo-dictionary-app,

This commit is contained in:
louiscklaw
2025-06-08 19:06:25 +08:00
parent 3ec9d87f8b
commit 2b71d06c8d
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import { WordStore } from '../store';
import { searchWord } from '../utils';
const Tab2 = () => {
const pageRef = useRef();
const pageRef = useRef(null);
const [searchTerm, setSearchTerm] = useState('');
const [searchResult, setSearchResult] = useState(false);
const [animatedClass, setAnimatedClass] = useState('');