diff --git a/snippets/useSSR.md b/snippets/useSSR.md index 7d85aac92..491c72364 100644 --- a/snippets/useSSR.md +++ b/snippets/useSSR.md @@ -18,7 +18,7 @@ const isDOMavailable = !!( window.document.createElement ); -const useSSR = (callback, delay) => { +const useSSR = () => { const [inBrowser, setInBrowser] = React.useState(isDOMavailable); React.useEffect(() => {