Skip to content

Commit

Permalink
added store code
Browse files Browse the repository at this point in the history
  • Loading branch information
gyetman committed May 11, 2023
1 parent b1e943e commit 19b8217
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@

layout = html.Div([
dcc.Location(id='url', refresh=True),
html.Div(id='page-content')
html.Div(id='page-content'),
dcc.Store(id='session',storage_type='session',
data=[{'test':'somedata'},
{'test2':'moredata'}]),
])
app.layout = layout
app.title = 'Solar Desalination Analysis Tool'
Expand Down

0 comments on commit 19b8217

Please sign in to comment.