Created
November 1, 2022 21:34
-
-
Save femakin/1ad98e9cd20df2a00173601955940066 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// . . . | |
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