Skip to content

Commit 1cf9336

Browse files
committed
Revert "App.js: add polling for blueprints and images"
This reverts commit 85987db.
1 parent 3424e83 commit 1cf9336

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/App.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ import BlueprintList from "./pages/blueprintList";
2020
import APIEmpty from "./components/EmptyStates/APIEmpty";
2121

2222
store.dispatch(fetchImageTypes());
23-
// Fetch blueprints and images every 30 seconds in case of changes via the cli
2423
store.dispatch(fetchBlueprints());
25-
setInterval(() => store.dispatch(fetchBlueprints()), 1000 * 30);
2624
store.dispatch(fetchAllImages());
27-
setInterval(() => store.dispatch(fetchAllImages()), 1000 * 30);
2825

2926
const Content = () => {
3027
const [isAPIOn, setIsAPIOn] = useState();

0 commit comments

Comments
 (0)