Skip to content

Commit

Permalink
fix: broken skip link in Learner Dashboard (#522)
Browse files Browse the repository at this point in the history
Co-authored-by: Deborah Kaplan <deborahgu@users.noreply.github.com>
  • Loading branch information
Ankush1oo8 and deborahgu authored Mar 3, 2025
1 parent e764e9c commit fbf24e4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const App = () => {
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main id="main">
{hasNetworkFailure
? (
<Alert variant="danger">
Expand Down
20 changes: 15 additions & 5 deletions src/__snapshots__/App.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ exports[`App router component component initialize failure snapshot 1`] = `
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main
id="main"
>
<Alert
variant="danger"
>
Expand Down Expand Up @@ -49,7 +51,9 @@ exports[`App router component component no network failure snapshot 1`] = `
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main
id="main"
>
<Dashboard />
</main>
</AppWrapper>
Expand All @@ -75,7 +79,9 @@ exports[`App router component component no network failure with optimizely proje
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main
id="main"
>
<Dashboard />
</main>
</AppWrapper>
Expand All @@ -101,7 +107,9 @@ exports[`App router component component no network failure with optimizely url s
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main
id="main"
>
<Dashboard />
</main>
</AppWrapper>
Expand All @@ -127,7 +135,9 @@ exports[`App router component component refresh failure snapshot 1`] = `
<div>
<AppWrapper>
<LearnerDashboardHeader />
<main>
<main
id="main"
>
<Alert
variant="danger"
>
Expand Down

0 comments on commit fbf24e4

Please sign in to comment.