feat(env): add application version to environment variables and log it in the layout component
This commit is contained in:
@@ -24,6 +24,8 @@ export const metadata: Metadata = {
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: PropsWithChildren) {
|
||||
const appVersion = process.env.NEXT_PUBLIC_APP_VERSION;
|
||||
console.log('App Version', appVersion);
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user