We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b885d3c commit 46e19d0Copy full SHA for 46e19d0
apps/template-nextjs/Components/Space/PrivateSpace.tsx
@@ -10,6 +10,7 @@ import {
10
useSpace,
11
useSpaces,
12
} from '@graphprotocol/hypergraph-react';
13
+import type { Entity } from '@graphprotocol/hypergraph';
14
import { useState } from 'react';
15
16
import { Project } from '@/app/schema';
@@ -51,7 +52,7 @@ function PrivateSpace() {
51
52
setProjectDescription('');
53
};
54
- const publishToPublicSpace = async (project: typeof Project) => {
55
+ const publishToPublicSpace = async (project: Entity.Entity<typeof Project>) => {
56
if (!selectedSpace) {
57
alert('No space selected');
58
return;
0 commit comments