Moibe commited on
Commit
7c77ea3
·
1 Parent(s): fcc824b

Testing getStorage

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,10 +8,10 @@ get_local_storage = """
8
  globalThis.getStorage = (key, value)=>{
9
  return JSON.parse(localStorage.getItem(key))
10
  }
11
- const text_input = getStorage('text_input')
12
  const dropdown = getStorage('dropdown')
13
  const local_data = getStorage('local_data')
14
- return [text_input, dropdown, local_data];
15
  }
16
  """
17
 
 
8
  globalThis.getStorage = (key, value)=>{
9
  return JSON.parse(localStorage.getItem(key))
10
  }
11
+ const text_inputAMLO = getStorage('text_input')
12
  const dropdown = getStorage('dropdown')
13
  const local_data = getStorage('local_data')
14
+ return [text_inputAMLO, dropdown, local_data];
15
  }
16
  """
17