diff --git a/studio/components/layouts/Scaffold.tsx b/studio/components/layouts/Scaffold.tsx index 0e03bf8f030..aec55712385 100644 --- a/studio/components/layouts/Scaffold.tsx +++ b/studio/components/layouts/Scaffold.tsx @@ -47,7 +47,7 @@ const ScaffoldSection = React.forwardRef>( +const ScaffoldColumn = React.forwardRef>( ({ className, ...props }, ref) => { return (
{ return ( <> -
+
{organizationIntegrationId === null && ( <> - +

Choose organization

<> @@ -170,7 +165,7 @@ const GitHubIntegration: NextPageWithLayout = () => {
- + { const { mutate, isLoading: isLoadingVercelIntegrationCreateMutation } = useVercelIntegrationCreateMutation({ onSuccess({ id }) { - const orgSlug = selectedOrg?.slug - setOrganizationIntegrationId(id) handleRouteChange() @@ -165,35 +163,37 @@ const VercelIntegration: NextPageWithLayout = () => { return ( <> -
+
{organizationIntegrationId === null && ( <> - -

Choose organization

- <> - - { - router.query.organizationSlug = e.slug - setSelectedOrg(e) - }} - dataLoading={dataLoading} - /> -
- -
- + + +

Choose organization

+ <> + + { + router.query.organizationSlug = e.slug + setSelectedOrg(e) + }} + dataLoading={dataLoading} + /> +
+ +
+ +