diff --git a/snippets/useSSR.md b/snippets/useSSR.md index 8be6af90d..355f63b81 100644 --- a/snippets/useSSR.md +++ b/snippets/useSSR.md @@ -38,12 +38,6 @@ const useSSR = (callback, delay) => { return React.useMemo(() => Object.assign(Object.values(useSSRObject), useSSRObject), [inBrowser]); }; - -const SSRChecker = props => { - let { isBrowser, isServer } = useSSR(); - - return

{ isBrowser ? 'Running on browser' : 'Running on server' }

; -}; ``` ```jsx