diff options
Diffstat (limited to 'docs/src/components/RandomKey')
| -rw-r--r-- | docs/src/components/RandomKey/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/components/RandomKey/index.tsx b/docs/src/components/RandomKey/index.tsx index 4f94a4d..f1eb63a 100644 --- a/docs/src/components/RandomKey/index.tsx +++ b/docs/src/components/RandomKey/index.tsx @@ -22,7 +22,7 @@ export default function RandomKey() { const [key, setKey] = useState<String>(genRandomKey()); const [refresh, setRefresh] = useState<number>(0); useEffect(() => { - setKey(genRandomKey); + setKey(genRandomKey()); }, [refresh]); return ( <span> |
