Skip to content

Commit 9f0bdbd

Browse files
committed
fix networks
1 parent 490768e commit 9f0bdbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hypergraph-react/src/HypergraphAppContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ export function HypergraphAppProvider({
968968
const result = await Graph.createSpace({
969969
editorAddress: smartSessionClient.account.address,
970970
name,
971-
network: smartSessionClient.chain.id === Connect.GEO_TESTNET.id ? 'TESTNET' : 'MAINNET',
971+
network: smartSessionClient.chain.id === Connect.GEO_TESTNET.id ? 'TESTNET' : 'TESTNET', // TODO: switch to mainnet
972972
});
973973
spaceId = result.id;
974974
console.log('Created public space', spaceId);

packages/hypergraph-react/src/publish-ops.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const publishOps = async ({ name, ops, walletClient, space }: PublishPara
2323
throw new Error('No address found');
2424
}
2525

26-
const network = walletClient.chain.id === Connect.GEO_TESTNET.id ? 'TESTNET' : 'MAINNET';
26+
const network = walletClient.chain.id === Connect.GEO_TESTNET.id ? 'TESTNET' : 'TESTNET'; // TODO: switch to mainnet
2727
const publishResult = await Ipfs.publishEdit({
2828
name,
2929
ops: ops,

0 commit comments

Comments
 (0)