p208p2002 commited on
Commit
563b0ac
β€’
1 Parent(s): 805d055
react-qa/build/asset-manifest.json CHANGED
@@ -1,15 +1,15 @@
1
  {
2
  "files": {
3
  "main.css": "/static/css/main.572222cd.css",
4
- "main.js": "/static/js/main.08763cda.js",
5
  "static/js/787.e7ee5088.chunk.js": "/static/js/787.e7ee5088.chunk.js",
6
  "index.html": "/index.html",
7
  "main.572222cd.css.map": "/static/css/main.572222cd.css.map",
8
- "main.08763cda.js.map": "/static/js/main.08763cda.js.map",
9
  "787.e7ee5088.chunk.js.map": "/static/js/787.e7ee5088.chunk.js.map"
10
  },
11
  "entrypoints": [
12
  "static/css/main.572222cd.css",
13
- "static/js/main.08763cda.js"
14
  ]
15
  }
 
1
  {
2
  "files": {
3
  "main.css": "/static/css/main.572222cd.css",
4
+ "main.js": "/static/js/main.ec0be861.js",
5
  "static/js/787.e7ee5088.chunk.js": "/static/js/787.e7ee5088.chunk.js",
6
  "index.html": "/index.html",
7
  "main.572222cd.css.map": "/static/css/main.572222cd.css.map",
8
+ "main.ec0be861.js.map": "/static/js/main.ec0be861.js.map",
9
  "787.e7ee5088.chunk.js.map": "/static/js/787.e7ee5088.chunk.js.map"
10
  },
11
  "entrypoints": [
12
  "static/css/main.572222cd.css",
13
+ "static/js/main.ec0be861.js"
14
  ]
15
  }
react-qa/build/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.08763cda.js"></script><link href="/static/css/main.572222cd.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
 
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.ec0be861.js"></script><link href="/static/css/main.572222cd.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
react-qa/build/static/js/{main.08763cda.js β†’ main.ec0be861.js} RENAMED
The diff for this file is too large to render. See raw diff
 
react-qa/build/static/js/{main.08763cda.js.LICENSE.txt β†’ main.ec0be861.js.LICENSE.txt} RENAMED
File without changes
react-qa/build/static/js/{main.08763cda.js.map β†’ main.ec0be861.js.map} RENAMED
The diff for this file is too large to render. See raw diff
 
react-qa/src/App.js CHANGED
@@ -36,8 +36,8 @@ function App() {
36
 
37
  // eslint-disable-next-line
38
  const debounce = useCallback(
39
- _.debounce((e) => {
40
- request_qa_data(e, e.target.value)
41
  }, 250),
42
  []
43
  );
@@ -53,7 +53,7 @@ function App() {
53
  onChange={(e) => {
54
  set_is_wait_for_data(true)
55
  set_question(e.target.value)
56
- debounce(e)
57
  }}
58
  />
59
  <br />
 
36
 
37
  // eslint-disable-next-line
38
  const debounce = useCallback(
39
+ _.debounce((e,q,c) => {
40
+ request_qa_data(e, q,c)
41
  }, 250),
42
  []
43
  );
 
53
  onChange={(e) => {
54
  set_is_wait_for_data(true)
55
  set_question(e.target.value)
56
+ debounce(e,e.target.value,context)
57
  }}
58
  />
59
  <br />