Skip to content

Commit 813df8e

Browse files
committed
fix automerge import
1 parent 88b9cc0 commit 813df8e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/hypergraph-react/src/HypergraphAppContext.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
'use client';
22

3-
// @ts-expect-error not properly typed and exported in the automerge package
4-
import { automergeWasmBase64 } from '@automerge/automerge/automerge.wasm.base64.js';
3+
import { automergeWasmBase64 } from '@automerge/automerge/automerge.wasm.base64';
54
import * as automerge from '@automerge/automerge/slim';
6-
import { uuid } from '@automerge/automerge/slim';
75
import type { DocHandle } from '@automerge/automerge-repo';
86
import { Repo } from '@automerge/automerge-repo/slim';
97
import { RepoContext } from '@automerge/automerge-repo-react-hooks';
@@ -36,6 +34,7 @@ import {
3634
useRef,
3735
useState,
3836
} from 'react';
37+
import { v4 as uuid } from 'uuid';
3938
import type { Address, Hex } from 'viem';
4039

4140
const decodeResponseMessage = Schema.decodeUnknownEither(Messages.ResponseMessage);

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)