Save local changes (GSC/Bing integrations) before merging PR #354

This commit is contained in:
ajaysi
2026-02-13 13:11:27 +05:30
parent 43e66835ac
commit 08a1f4a1d8
144 changed files with 8310 additions and 2748 deletions

View File

@@ -20,7 +20,7 @@ import {
CircularProgress
} from '@mui/material';
import { motion, AnimatePresence } from 'framer-motion';
import { useAuth, useUser, SignInButton, SignOutButton } from '@clerk/clerk-react';
import { useAuth, useUser, SignInButton, SignOutButton, useClerk } from '@clerk/clerk-react';
import { apiClient } from '../../api/client';
import {
Refresh as RefreshIcon,
@@ -69,6 +69,7 @@ const SEODashboard: React.FC = () => {
// Clerk authentication hooks
const { isSignedIn, isLoaded } = useAuth();
const { user } = useUser();
const { openSignIn } = useClerk();
// Zustand store hooks
const {
@@ -491,8 +492,8 @@ const SEODashboard: React.FC = () => {
<Typography variant="h6" sx={{ color: 'rgba(255, 255, 255, 0.7)' }}>
Sign in to access your SEO analytics and Google Search Console data
</Typography>
<SignInButton mode="modal">
<Button
<Button
onClick={() => openSignIn({ forceRedirectUrl: '/seo-dashboard' })}
variant="contained"
size="large"
sx={{
@@ -506,7 +507,6 @@ const SEODashboard: React.FC = () => {
>
Sign In to Continue
</Button>
</SignInButton>
</Box>
</Container>
</DashboardContainer>