fix: twice social callback call

pull/4196/head
Arik Chakma 1 year ago
parent c4db994753
commit f52e6df410
  1. 3
      src/layouts/AccountLayout.astro
  2. 4
      src/layouts/BaseLayout.astro

@ -1,5 +1,5 @@
---
import BaseLayout,{ Props as BaseLayoutProps } from './BaseLayout.astro';
import BaseLayout, { Props as BaseLayoutProps } from './BaseLayout.astro';
export interface Props extends BaseLayoutProps {}
@ -8,5 +8,6 @@ const props = Astro.props;
<BaseLayout {...props} noIndex={true}>
<slot />
<div slot='login-popup'></div>
<div slot='page-footer'></div>
</BaseLayout>

@ -150,7 +150,9 @@ const gaPageIdentifier = Astro.url.pathname
</slot>
<Authenticator />
<LoginPopup />
<slot name="login-popup">
<LoginPopup />
</slot>
<CommandMenu client:idle />
<PageProgress initialMessage={initialLoadingMessage} client:idle />
<PageSponsor

Loading…
Cancel
Save