feat: fix typescript errors
This commit is contained in:
parent
a93af6d9f2
commit
3cc4ea22a9
|
|
@ -27,6 +27,6 @@ export const BillingComponent = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<MainBillingComponent tiers={tiers} sub={subscription?.subscription} />
|
||||
<MainBillingComponent sub={subscription?.subscription} />
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export const GithubOnboarding: FC = () => {
|
|||
return { github, organizations };
|
||||
}, []);
|
||||
|
||||
const { isLoading: isLoadingSettings, data: loadAll, mutate } = useSWR(
|
||||
const { isLoading: isLoadingSettings, data: loadAll} = useSWR(
|
||||
'load-all',
|
||||
load
|
||||
);
|
||||
|
|
@ -31,7 +31,6 @@ export const GithubOnboarding: FC = () => {
|
|||
|
||||
return (
|
||||
<GithubComponent
|
||||
mutate={mutate}
|
||||
github={loadAll.github}
|
||||
organizations={loadAll.organizations}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ const ConnectComponent: FC<{
|
|||
export const GithubComponent: FC<{
|
||||
organizations: Array<{ login: string; id: string }>;
|
||||
github: Array<{ id: string; login: string }>;
|
||||
mutate: any;
|
||||
}> = (props) => {
|
||||
if (typeof window !== 'undefined' && window.opener) {
|
||||
window.close();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue