Skip to content

Commit

Permalink
Revert "Replace broken jumbotron error page"
Browse files Browse the repository at this point in the history
This reverts commit 32e68d1.
  • Loading branch information
biwano committed Oct 30, 2023
1 parent a0f3790 commit 84f8988
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/apps/tco2_dashboard/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1967,14 +1967,12 @@ def render_page_content(pathname):
return content_nbo

# If the user tries to reach a different page, return a 404 message
return dbc.Container(
return dbc.Jumbotron(
[
html.H1("404: Not found", className="text-danger"),
html.Hr(),
html.P(f"The pathname {pathname} was not recognised..."),
],
fluid=True,
className="py-3",
]
)


Expand Down

0 comments on commit 84f8988

Please sign in to comment.