Spaces:
Running
Running
Jon Solow
commited on
Commit
·
4d4b05d
1
Parent(s):
71cac93
Apply formatting
Browse files
src/pages/11_League_Simulation.py
CHANGED
|
@@ -5,6 +5,7 @@ from shared_page import common_page_config
|
|
| 5 |
|
| 6 |
from login_component import is_token_in_session
|
| 7 |
|
|
|
|
| 8 |
def get_page():
|
| 9 |
page_title = "Yahoo FF League Simulation"
|
| 10 |
st.set_page_config(page_title=page_title, page_icon=DEFAULT_ICON, layout="wide")
|
|
@@ -14,8 +15,9 @@ def get_page():
|
|
| 14 |
if not is_token_in_session():
|
| 15 |
st.write(
|
| 16 |
"You must authorize the application to access your account in order to use this feature."
|
| 17 |
-
" Please click Login button above."
|
| 18 |
-
|
|
|
|
| 19 |
else:
|
| 20 |
st.write("Logged in. Feature to go here")
|
| 21 |
|
|
|
|
| 5 |
|
| 6 |
from login_component import is_token_in_session
|
| 7 |
|
| 8 |
+
|
| 9 |
def get_page():
|
| 10 |
page_title = "Yahoo FF League Simulation"
|
| 11 |
st.set_page_config(page_title=page_title, page_icon=DEFAULT_ICON, layout="wide")
|
|
|
|
| 15 |
if not is_token_in_session():
|
| 16 |
st.write(
|
| 17 |
"You must authorize the application to access your account in order to use this feature."
|
| 18 |
+
" Please click Login button above."
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
else:
|
| 22 |
st.write("Logged in. Feature to go here")
|
| 23 |
|