them file env
This commit is contained in:
parent
6ac9ddf8c1
commit
669089a6a5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,7 +17,6 @@
|
|||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env
|
||||
.env.production
|
||||
.env.staging
|
||||
|
||||
|
|
2
app/.env
Normal file
2
app/.env
Normal file
|
@ -0,0 +1,2 @@
|
|||
REACT_APP_HOST='http://api.face-classify.beetai.com'
|
||||
|
|
@ -124,6 +124,7 @@ export default function ListItem() {
|
|||
|
||||
const handleOnKeyDown = e => {
|
||||
if (e.key === 'Enter') {
|
||||
setActivePage(1)
|
||||
getData(1);
|
||||
}
|
||||
}
|
||||
|
@ -230,6 +231,7 @@ export default function ListItem() {
|
|||
<div className="pl-3">
|
||||
<button
|
||||
onClick={() => {
|
||||
setActivePage(1)
|
||||
getData(1)
|
||||
}}
|
||||
className="btn btn-accent m-btn m-btn--icon" id="m_search">
|
||||
|
@ -241,7 +243,11 @@ export default function ListItem() {
|
|||
</div>
|
||||
<div className="pl-3">
|
||||
<button
|
||||
onClick={() => reset()}
|
||||
onClick={() => {
|
||||
setDataSearch("")
|
||||
setActivePage(1)
|
||||
getData(1)
|
||||
}}
|
||||
className="btn btn-secondary m-btn m-btn--icon" id="m_reset">
|
||||
<span>
|
||||
<i className="la la-rotate-left" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user