Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Move layout and update for app router
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed May 22, 2024
1 parent 54845cd commit 4959317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import "src/styles/styles.scss";
import { GoogleAnalytics } from "@next/third-parties/google";
import { PUBLIC_ENV } from "../constants/environments";
import { PUBLIC_ENV } from "src/constants/environments";

import Layout from "src/components/AppLayout";
import Layout from "src/components/Layout";
import { unstable_setRequestLocale } from "next-intl/server";
/**
* Root layout component, wraps all pages.
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useEffect } from "react";
import { sendGAEvent } from "@next/third-parties/google";
import { PUBLIC_ENV } from "../constants/environments";
import { PUBLIC_ENV } from "src/constants/environments";

export default function Template({ children }: { children: React.ReactNode }) {
const isProd = process.env.NODE_ENV === "production";
Expand Down

0 comments on commit 4959317

Please sign in to comment.