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 = () => {
2222 const { getSmartSessionClient } = useHypergraphApp ( ) ;
2323
2424 const deleteEntity = _useDeleteEntityPublic ( Event , {
25- space : '1c954768-7e14-4f0f-9396-0fe9dcd55fe8 ' ,
25+ space : 'a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 ' ,
2626 } ) ;
2727
2828 const createEntity = _useCreateEntityPublic ( Event , {
29- space : '1c954768-7e14-4f0f-9396-0fe9dcd55fe8 ' ,
29+ space : 'a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 ' ,
3030 } ) ;
3131
3232 console . log ( { isLoading, isError, data } ) ;
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ export const Route = createLazyFileRoute('/playground')({
1010
1111function RouteComponent ( ) {
1212 return (
13- < HypergraphSpaceProvider space = "d9814a82-8dab-4d02-86d2-9d413f7dc336 " >
13+ < HypergraphSpaceProvider space = "a57cd482-6dd3-4ba3-ac44-e2e8ea7a2862 " >
1414 < div className = "flex flex-col gap-4 max-w-(--breakpoint-sm) mx-auto py-8" >
1515 < h1 className = "text-2xl font-bold" > Playground</ h1 >
1616 < 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 " />
1919 </ div >
2020 </ HypergraphSpaceProvider >
2121 ) ;
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ export const preparePublish = async <S extends Entity.AnyNoContext>({
9191 } ) ;
9292 }
9393 const { ops : createOps } = Graph . createEntity ( {
94+ id : entity . id ,
9495 types : mappingEntry . typeIds ,
9596 values,
9697 relations,
You can’t perform that action at this time.
0 commit comments