Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 committed Jan 3, 2025
1 parent 374b322 commit 57bb1bc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/containers/MainApp/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ const MainApp = () => (
<Header />
{/* Only display the banner if there is content to display. */}
{process.env.SITEWIDE_BANNER_CONTENT && (
<SitewideBanner
message={process.env.SITEWIDE_BANNER_CONTENT}
type="warning"
dismissible
cookieName="publisherSiteWideBannerDismissed"
cookieExpiryDays={30}
/>)}
<SitewideBanner

Check warning on line 25 in src/containers/MainApp/index.jsx

View check run for this annotation

Codecov / codecov/patch

src/containers/MainApp/index.jsx#L25

Added line #L25 was not covered by tests
message={process.env.SITEWIDE_BANNER_CONTENT}
type="warning"
dismissible
cookieName="publisherSiteWideBannerDismissed"
cookieExpiryDays={30}
/>
)}
<main>
<Routes>
<Route path="/course-runs/:courseRunKey" element={<CourseRunRedirectComponent />} />
Expand Down

0 comments on commit 57bb1bc

Please sign in to comment.