added save as draft button
This commit is contained in:
parent
73fe26edc4
commit
ec1eca181f
@ -1914,6 +1914,13 @@ const location = useLocation();
|
||||
</svg>
|
||||
<span>Back</span>
|
||||
</button>
|
||||
<div className="flex gap-3">
|
||||
<button
|
||||
type="button"
|
||||
className="inline-flex items-center gap-2 h-9 px-5 rounded-md border border-[#92722A] text-[#92722A] bg-transparent hover:bg-[#92722A]/10 cursor-pointer"
|
||||
>
|
||||
<span>Save as Draft</span>
|
||||
</button>
|
||||
<button
|
||||
onClick={handleNext}
|
||||
className="inline-flex items-center gap-2 h-9 px-5 rounded-md bg-[#92722A] text-white hover:bg-[#7b5c1f] cursor-pointer"
|
||||
@ -1924,6 +1931,7 @@ const location = useLocation();
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{(hasError || isInitialLoad) && (
|
||||
<div className="mt-4">
|
||||
|
||||
@ -1042,6 +1042,13 @@ const ReviewSubmit = ({
|
||||
<img src={caretDownSrc} alt="" className="h-4 w-4 rotate-90" />
|
||||
<span>Back</span>
|
||||
</button>
|
||||
<div className="flex gap-3">
|
||||
<button
|
||||
type="button"
|
||||
className="inline-flex items-center justify-center h-9 px-5 rounded-md border border-[#92722A] text-[#92722A] bg-transparent hover:bg-[#92722A]/10 transition-colors"
|
||||
>
|
||||
<span>Save as Draft</span>
|
||||
</button>
|
||||
<button
|
||||
disabled={!confirm || isSubmitting}
|
||||
onClick={onSubmit}
|
||||
@ -1057,6 +1064,7 @@ const ReviewSubmit = ({
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user