Add Sigit ID as a path param #195
@ -74,11 +74,9 @@ export const SignPage = () => {
|
||||
* arrayBuffer will be received in navigation from create page in offline mode
|
||||
* meta will be received in navigation from create & home page in online mode
|
||||
m marked this conversation as resolved
Outdated
|
||||
*/
|
||||
const {
|
||||
meta: metaInNavState,
|
||||
arrayBuffer: decryptedArrayBuffer,
|
||||
uploadedZip
|
||||
} = location.state || {
|
||||
let metaInNavState = location.state.meta
|
||||
|
||||
const { arrayBuffer: decryptedArrayBuffer, uploadedZip } = location.state || {
|
||||
meta: undefined,
|
||||
arrayBuffer: undefined,
|
||||
uploadedZip: undefined
|
||||
|
Loading…
Reference in New Issue
Block a user
We should just replace the value of
metaInNavState
without having states.We can just move it out of the destructuring and modify it if needed? Something like?