Update useSSR.md
seems that those arguments are copied from other hooks
This commit is contained in:
@ -18,7 +18,7 @@ const isDOMavailable = !!(
|
||||
window.document.createElement
|
||||
);
|
||||
|
||||
const useSSR = (callback, delay) => {
|
||||
const useSSR = () => {
|
||||
const [inBrowser, setInBrowser] = React.useState(isDOMavailable);
|
||||
|
||||
React.useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user