Skip to content

Commit

Permalink
Update apps/idos-enclave/src/pages/App.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: web the third <[email protected]>
  • Loading branch information
Mohammed-Mamoun98 and juliosantos authored Dec 13, 2024
1 parent 3bbbab0 commit 7168615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/idos-enclave/src/pages/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function App({ store, enclave }: AppProps) {
throw new Error(`Unexpected request from parent: ${requestData.intent}`);

responsePort.current = ports[0];
setEncryptionUserPublicKey(requestData.message.expectedUserEncryptionPublicKey);
setEncryptionUserPublicKey(requestData.message?.expectedUserEncryptionPublicKey);

switch (requestData.intent) {
case "auth":
Expand Down

0 comments on commit 7168615

Please sign in to comment.