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
|
* 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
|
* meta will be received in navigation from create & home page in online mode
|
||||||
m marked this conversation as resolved
Outdated
|
|||||||
*/
|
*/
|
||||||
const {
|
let metaInNavState = location.state.meta
|
||||||
meta: metaInNavState,
|
|
||||||
arrayBuffer: decryptedArrayBuffer,
|
const { arrayBuffer: decryptedArrayBuffer, uploadedZip } = location.state || {
|
||||||
uploadedZip
|
|
||||||
} = location.state || {
|
|
||||||
meta: undefined,
|
meta: undefined,
|
||||||
arrayBuffer: undefined,
|
arrayBuffer: undefined,
|
||||||
uploadedZip: 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?