Try removing embed/analytics to fix build

This commit is contained in:
Austin Chen 2022-06-14 01:50:03 -07:00
parent fd7f7afabd
commit 0c9f1b1745

View File

@ -1,20 +0,0 @@
import { Col } from 'web/components/layout/col'
import { Spacer } from 'web/components/layout/spacer'
import { fromPropz } from 'web/hooks/use-propz'
import Analytics, {
CustomAnalytics,
FirebaseAnalytics,
getStaticPropz,
} from '../stats'
export const getStaticProps = fromPropz(getStaticPropz)
export default function AnalyticsEmbed(props: Parameters<typeof Analytics>[0]) {
return (
<Col className="w-full bg-white px-2">
<CustomAnalytics {...props} />
<Spacer h={8} />
<FirebaseAnalytics />
</Col>
)
}