Skip to content

Instantly share code, notes, and snippets.

@femakin
Created November 1, 2022 21:34
Show Gist options
  • Save femakin/1ad98e9cd20df2a00173601955940066 to your computer and use it in GitHub Desktop.
Save femakin/1ad98e9cd20df2a00173601955940066 to your computer and use it in GitHub Desktop.
// . . .
return (
<div className="flex mt-10 justify-between ">
<div onClick={onClick} className={Previewstyle.preview}>
Download
</div>
<div
onClick={() =>
router.push({
pathname: '/edit',
query: {
userdata: {
data: alldata[0],
},
useravailabledata: `${alldata}`,
},
})
}
className={Previewstyle.preview}
>
Edit
</div>
</div>
)
// . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment