File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
packages/hypergraph-react/src Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ export const Playground = () => {
22
22
const { getSmartSessionClient } = useHypergraphApp ( ) ;
23
23
24
24
const deleteEntity = _useDeleteEntityPublic ( Event , {
25
- space : '1c954768-7e14-4f0f-9396-0fe9dcd55fe8 ' ,
25
+ space : 'a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 ' ,
26
26
} ) ;
27
27
28
28
const createEntity = _useCreateEntityPublic ( Event , {
29
- space : '1c954768-7e14-4f0f-9396-0fe9dcd55fe8 ' ,
29
+ space : 'a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 ' ,
30
30
} ) ;
31
31
32
32
console . log ( { isLoading, isError, data } ) ;
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ export const Route = createLazyFileRoute('/playground')({
10
10
11
11
function RouteComponent ( ) {
12
12
return (
13
- < HypergraphSpaceProvider space = "d9814a82-8dab-4d02-86d2-9d413f7dc336 " >
13
+ < HypergraphSpaceProvider space = "a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 " >
14
14
< div className = "flex flex-col gap-4 max-w-(--breakpoint-sm) mx-auto py-8" >
15
15
< h1 className = "text-2xl font-bold" > Playground</ h1 >
16
16
< Playground />
17
- < CreatePropertiesAndTypesEvent space = "d9814a82-8dab-4d02-86d2-9d413f7dc336 " />
18
- < CreateEvents space = "d9814a82-8dab-4d02-86d2-9d413f7dc336 " />
17
+ < CreatePropertiesAndTypesEvent space = "a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 " />
18
+ < CreateEvents space = "a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 " />
19
19
</ div >
20
20
</ HypergraphSpaceProvider >
21
21
) ;
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ export const preparePublish = async <S extends Entity.AnyNoContext>({
91
91
} ) ;
92
92
}
93
93
const { ops : createOps } = Graph . createEntity ( {
94
+ id : entity . id ,
94
95
types : mappingEntry . typeIds ,
95
96
values,
96
97
relations,
You can’t perform that action at this time.
0 commit comments