status page service/repo refactor

This commit is contained in:
Alex Holliday committed 2026-01-22 20:57:20 +00:00
1 parent 2359255ef7
commit e6c268f14e
18 files changed
+357 -47

No files matched your search

@@ -14,7 +14,7 @@ const useStatusPagesFetch = () => {
const fetchStatusPages = async () => {
try {
const res = await networkService.getStatusPagesByTeamId();
setStatusPages(res?.data?.data);
setStatusPages(res?.data?.data || []);
} catch (error) {
setNetworkError(true);
createToast({