diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index f13f627..facbc67 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,4 +1,4 @@ -'use client' +"use client" import { useRouter } from "next/navigation"; import styled from "styled-components"; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ad872a2..da12c84 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,4 @@ -'use client' +"use client" import { Montserrat } from "next/font/google"; import { useState, useEffect } from "react"; @@ -29,7 +29,7 @@ export default function RootLayout({ {/* can't use next.Metadata, - because 'use client' + styled components are + because "use client" + styled components are preventing it. next/head wouldn't work too, so legacy solution is used diff --git a/src/app/page.tsx b/src/app/page.tsx index e5ae18f..3f11db7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,4 @@ -'use client' +"use client" import { useTheme } from "@/providers/theme.provider"; import { Button } from "@/styles"; diff --git a/src/styles.tsx b/src/styles.tsx index 817cdbf..d84c067 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -1,4 +1,4 @@ -'use client' +"use client" import styled, { createGlobalStyle } from "styled-components";