1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Add hook for API polling.

This commit is contained in:
Bogdan Bodnar
2019-11-15 12:54:12 +01:00
parent d935f78d6e
commit 2e68e56e44
2 changed files with 29 additions and 2 deletions

View File

@ -7,7 +7,12 @@
// API
export {
useAPIGet, useAPIPost, useAPIPatch, useAPIPut, useAPIDelete,
useAPIGet,
useAPIPost,
useAPIPatch,
useAPIPut,
useAPIDelete,
useAPIPolling,
} from "api/hooks";
export { API_STATE } from "api/utils";