Add appState

appState contains variables that indicate whether an event is
currently ongoing, and whether registration is currently allowed.
This commit is contained in:
2020-10-03 23:41:45 +02:00
parent 80682ab883
commit 9b31131d5b
4 changed files with 88 additions and 19 deletions

View File

@ -0,0 +1,6 @@
class AppState {
registrationEnabled: boolean;
currentlyInEvent: boolean;
}
export default AppState;