Skip to content

Commit 9a1d784

Browse files
Jay PanchalJay Panchal
authored andcommitted
fix: build font error fix
1 parent 9a04691 commit 9a1d784

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
import type { Metadata } from "next";
2-
import {DM_Sans} from 'next/font/google'
32
import "./globals.css";
43
import Header from "@/components/AppLayout/Header";
54
import Footer from "@/components/AppLayout/Footer";
65

7-
const DmSans = DM_Sans({
8-
display: 'swap',
9-
})
10-
116
export const metadata: Metadata = {
127
title: "Create Next App",
138
description: "Generated by create next app",
@@ -21,7 +16,7 @@ export default function RootLayout({
2116
return (
2217
<html lang="en">
2318
<body
24-
className={`${DmSans.className} antialiased`}
19+
className={` antialiased`}
2520
>
2621
<Header />
2722
<main className="pt-12">{children}</main>

0 commit comments

Comments
 (0)