You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
570 B

import React from 'react';
import { AppStateProvider } from '@components/app-state';
import { ProgressBar } from '@components/progress-bar';
import { BaseLayout } from '@components/layouts/base-layout';
import { Meta } from '@components/meta-head';
import { useFathom } from '@common/hooks/use-fathom';
export const AppWrapper: React.FC<any> = ({ children, isHome }) => {
useFathom();
return (
<>
<Meta />
<ProgressBar />
<AppStateProvider>
<BaseLayout isHome={isHome}>{children}</BaseLayout>
</AppStateProvider>
</>
);
};