We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10fc8dd commit 89d9c50Copy full SHA for 89d9c50
src/routes/Products/components/BasicInfo/index.jsx
@@ -227,6 +227,11 @@ const BasicInfo = ({
227
challenge?.id,
228
challenge?.legacy?.selfService
229
);
230
+
231
+ const saveForLater = () => {
232
+ saveBasicInfo(formData);
233
+ navigate("/self-service");
234
+ }
235
236
return (
237
<>
@@ -279,6 +284,15 @@ const BasicInfo = ({
279
284
</Button>
280
285
</div>
281
286
<div styleName="footer-right">
287
+ {isLoggedIn &&
288
+ <Button
289
+ size={BUTTON_SIZE.MEDIUM}
290
+ type={BUTTON_TYPE.SECONDARY}
291
+ onClick={saveForLater}
292
+ >
293
+ SAVE FOR LATER
294
+ </Button>
295
282
296
<Button
283
297
disabled={!isFormValid}
298
size={BUTTON_SIZE.MEDIUM}
0 commit comments