MCPcopy Create free account
hub / github.com/campsite/campsite / useCreateProjectView

Function useCreateProjectView

apps/web/hooks/useCreateProjectView.ts:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10export function useCreateProjectView() {
11 const { scope } = useScope()
12
13 return useMutation({
14 mutationFn: ({ projectId }: Props) => apiClient.organizations.postProjectsViews().request(`${scope}`, projectId)
15 })
16}

Callers 3

ProjectPostsFunction · 0.90
ProjectChatFunction · 0.90
useProjectSubscriptionsFunction · 0.90

Calls 2

useScopeFunction · 0.90
requestMethod · 0.80

Tested by

no test coverage detected