Skip to content

Commit

Permalink
seTimeout()
Browse files Browse the repository at this point in the history
  • Loading branch information
bertamatu committed Jul 3, 2020
1 parent 1ca1e74 commit 8f44dc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/admin/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ const DataTable = (props) => {
const remoteData = await api.getServers(token);
setServers(remoteData);
};

// setTimeout(serversList, 60000);
// useEffect(() => {
// localStorage.setItem("servers", JSON.stringify(servers));
// }, [servers]);

return (
<AdminDataContainer>
<TableHeader>
Expand Down

0 comments on commit 8f44dc8

Please sign in to comment.