Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const CertificateVerification = lazy(
const ChallengeWorkspace = lazy(() => import("./game/ChallengeWorkspace"));
const MarketplacePage = lazy(() => import("./marketplace/MarketplacePage"));
const AchievementsPage = lazy(() => import("./pages/AchievementsPage"));
const GitHubSyncCallback = lazy(() => import("./settings/GitHubSyncCallback"));

// Skeletons — layout-accurate, boneyard-wrapped
import {
Expand Down Expand Up @@ -125,6 +126,18 @@ const AppContent = memo(() => {
}
/>

{/* GitHub Sync OAuth Callback */}
<Route
path="/settings/github/callback"
element={
<ProtectedRoute>
<Suspense fallback={<GenericSkeleton />}>
<GitHubSyncCallback />
</Suspense>
</ProtectedRoute>
}
/>

{/* Protected Routes wrapped in MainLayout */}
<Route
element={
Expand Down
Loading
Loading