From 3b140b1727f00e88aedee7f6602adea0f3b45323 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 10 Mar 2021 15:38:42 +1100 Subject: [PATCH] Update useSSR.md seems that those arguments are copied from other hooks --- snippets/useSSR.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(() => {