Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Dec 16, 2024
1 parent e16ee29 commit a7a5bb7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"ethers": "^6.13.4",
"fhevmjs": "^0.6.2",
"idb": "^8.0.0",
"typescript": "5.6.2",
"vue": "^3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-node-polyfills": "^0.22.0",
"vue-tsc": "^2.1.10"
Expand Down
2 changes: 0 additions & 2 deletions src/components/Connect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ const refreshNetwork = async () => {
loading.value = true;
await createFhevmInstance();
loading.value = false;
} else {
setValidNetwork(false);
}
};
Expand Down
6 changes: 3 additions & 3 deletions src/components/Devnet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { getInstance } from '../fhevmjs';
const toHexString = (bytes: Uint8Array) => bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, '0'), '');
const handles = ref(null);
const inputProof = ref(null);
const handles = ref<Uint8Array[] | null>(null);
const inputProof = ref<Uint8Array | null>(null);
const instance = getInstance();
const encrypt = async (val: number) => {
const encrypt = async () => {
const enc = await instance
.createEncryptedInput(
getAddress('0x309cf2aae85ad8a1db70ca88cfd4225bf17a7456'),
Expand Down

0 comments on commit a7a5bb7

Please sign in to comment.