소스 검색

modify comment

yohei0125 3 년 전
부모
커밋
595f49321e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/components/Sidebar.tsx

+ 1 - 1
packages/app/src/components/Sidebar.tsx

@@ -58,7 +58,7 @@ const GlobalNavigation = () => {
 
 
   useEffect(() => {
-    // Change content in sideEffect to avoid error thrown by having different content between the server and the client.
+    // Change content in side effect to avoid error thrown by having different rendered content between the server and the client.
     // https://en.reactjs.org/docs/react-dom.html#hydrate
     // > ReactDOM.hydrate expects that the rendered content is identical between the server and the client.
     setIsClient(true);