ui/client/features/pages-editor/hooks/useAllPages
Cockpit client (features), next. Source: ui/client/features/pages-editor/hooks/useAllPages.tsx.
Functions#
useAllPages()#
useAllPages():
object
Defined in: ui/client/features/pages-editor/hooks/useAllPages.tsx:10
Every page of the project, for the Pages screen's Browser list. reload is the error state's one next action.
Returns#
object
error
error:
string
pages
pages:
object[]
reload
reload: () =>
void=load
Returns
void
status
status:
"loading"|"ready"|"error"