From 2f9e31852d2005d7f4a77f1632382e9d0477c1b6 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Wed, 20 Mar 2024 20:13:46 -0500 Subject: [PATCH] import objectHash from dist --- client/src/utils/Post.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/utils/Post.js b/client/src/utils/Post.js index c79bc0e..71e93fd 100644 --- a/client/src/utils/Post.js +++ b/client/src/utils/Post.js @@ -1,8 +1,8 @@ import axios from 'axios'; // trailing slash is deliberate, to differentiate this package from the core node module import { Buffer } from 'buffer/'; -// import { recoverPersonalSignature } from '@metamask/eth-sig-util'; -import objectHash from 'object-hash'; +// import { recoverPersonalSignature } from '@metamask/eth-sig-util/dist/personal-sign'; +import objectHash from 'object-hash/dist/object_hash'; // Make Buffer available to recoverPersonalSignature // window.Buffer = Buffer;