mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com> Co-authored-by: Johannes <johannes@formbricks.com>
21 lines
594 B
TypeScript
21 lines
594 B
TypeScript
import type { AppProps } from "next/app";
|
|
import Head from "next/head";
|
|
import "../styles/globals.css";
|
|
|
|
export default function App({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Demo App</title>
|
|
</Head>
|
|
{(!process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID ||
|
|
!process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST) && (
|
|
<div className="w-full bg-red-500 p-3 text-center text-sm text-white">
|
|
Please set Formbricks environment variables in apps/demo/.env
|
|
</div>
|
|
)}
|
|
<Component {...pageProps} />
|
|
</>
|
|
);
|
|
}
|