Commit 9fe49946 authored by tom's avatar tom

fix ts

parent cc6b3aa8
...@@ -18,6 +18,7 @@ const PAGE_PROPS = { ...@@ -18,6 +18,7 @@ const PAGE_PROPS = {
query: {}, query: {},
adBannerProvider: null, adBannerProvider: null,
apiData: null, apiData: null,
uuid: '123',
}; };
const TestApp = ({ children }: { children: React.ReactNode }) => { const TestApp = ({ children }: { children: React.ReactNode }) => {
......
...@@ -11,7 +11,6 @@ import * as metadata from 'lib/metadata'; ...@@ -11,7 +11,6 @@ import * as metadata from 'lib/metadata';
import * as mixpanel from 'lib/mixpanel'; import * as mixpanel from 'lib/mixpanel';
interface Props<Pathname extends Route['pathname']> { interface Props<Pathname extends Route['pathname']> {
uuid: string;
pathname: Pathname; pathname: Pathname;
children: React.ReactNode; children: React.ReactNode;
query?: PageProps<Pathname>['query']; query?: PageProps<Pathname>['query'];
......
...@@ -39,6 +39,7 @@ const defaultAppContext = { ...@@ -39,6 +39,7 @@ const defaultAppContext = {
query: {}, query: {},
adBannerProvider: 'slise' as const, adBannerProvider: 'slise' as const,
apiData: null, apiData: null,
uuid: '123',
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment