diff --git a/front/pages/sharedtypes.tsx b/front/pages/sharedtypes.tsx deleted file mode 100644 index 42b9d30f4cd7..000000000000 --- a/front/pages/sharedtypes.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { GetServerSideProps, InferGetServerSidePropsType } from "next"; -import React from "react"; - -const { GA_TRACKING_ID = "" } = process.env; - -export const getServerSideProps: GetServerSideProps<{ - gaTrackingId: string; -}> = async () => { - return { - props: { gaTrackingId: GA_TRACKING_ID }, - }; -}; - -export default function Home({ - gaTrackingId, -}: InferGetServerSidePropsType) { - return ( - <> -
shared types {gaTrackingId}
- - ); -}