Skip to content

Commit

Permalink
fix: init identity lib
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaalvarezd committed Feb 7, 2024
1 parent 4e6f769 commit e706467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/helpers/hooks/useResolvedDID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function useResolvedDID(network: string, bech32Hrp: string, addressHex: s
setidentityResponse(response);
}
})
.then(() => identityService.initLibrary(window?.location?.origin ?? "" + "/wasm/identity_wasm_bg.wasm"))
.then(() => identityService.initLibrary(`${window?.location?.origin ?? ""}/wasm/identity_wasm_bg.wasm`))
.finally(() => {
setIsLoading(false);
});
Expand Down

0 comments on commit e706467

Please sign in to comment.