From 4131de86922728a5dc64aab51e2728b3e6d96e4e Mon Sep 17 00:00:00 2001 From: sadorowo Date: Fri, 31 May 2024 16:21:27 +0200 Subject: [PATCH] change single to double quotes --- src/app/contact/page.tsx | 2 +- src/app/layout.tsx | 4 ++-- src/app/page.tsx | 2 +- src/styles.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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";