Skip to content

Commit d82b908

Browse files
author
Eric Smyth
committed
Fix to use Root Page vs Body Component
1 parent 41dcef3 commit d82b908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chime_dash/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing import TypeVar
99
from chime_dash.app.config import from_object
1010
from penn_chime.settings import get_defaults
11-
from chime_dash.app.components import Body
11+
from chime_dash.app.pages.root import Root
1212
from chime_dash.app.utils.callbacks import wrap_callbacks
1313

1414
DashAppInstance = TypeVar('DashAppInstance')
@@ -32,7 +32,7 @@ def create_app(context: str = 'prod') -> DashAppInstance:
3232
Env = from_object(context)
3333

3434
LANGUAGE = Env.LANG
35-
body = Body(LANGUAGE, DEFAULTS)
35+
body = Root(LANGUAGE, DEFAULTS)
3636

3737

3838
App = Dash(

0 commit comments

Comments
 (0)