Skip to content

Commit e7dc5f4

Browse files
committed
remove temp useeffect
1 parent ff5cb89 commit e7dc5f4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app/[language]/layout.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client"
2-
31
import React, { useEffect } from "react";
42
import { Metadata } from "next";
53
import { DEFAULT_LANGUAGE_CODE } from "@/features/localization/localization.config";
@@ -49,11 +47,6 @@ export default function RootLayout({
4947
const initialThemeCookieValue =
5048
sanitizedThemeCookieValue || ThemeCookieValues.SYSTEM_DARK;
5149

52-
useEffect(() => {
53-
console.log("App mounted ounce");
54-
return () => console.log("App unmounted X")
55-
},[])
56-
5750
return (
5851
<PageLayoutComponent
5952
languageCode={languageCode}

0 commit comments

Comments
 (0)