[offers][fix] Replace onclick with href

pull/430/head
Ai Ling 3 years ago
parent 0a84058479
commit 1d4dd63938

@ -99,14 +99,10 @@ export default function OffersSubmissionResult() {
onClick={() => setStep(step - 1)}
/>
<Button
href={getProfilePath(offerProfileId as string, token as string)}
icon={EyeIcon}
label="View your profile"
variant="primary"
onClick={() =>
router.push(
getProfilePath(offerProfileId as string, token as string),
)
}
/>
</div>
)}

Loading…
Cancel
Save