Skip to content

Commit

Permalink
fix: quick order page tips
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 committed Jul 11, 2023
1 parent af82af3 commit f368577
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/storefront/src/components/B3Tip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ export default function B3Tip({
? msgs.map((msg: MsgsProps, index: number) => (
<Snackbar
key={msg.id}
open={!!msg?.msg?.length}
open={!!msg?.id}
autoHideDuration={msg?.time || 5000}
onClose={(e, reason: string) => handleAllClose(msg.id, reason)}
disableWindowBlurListener
anchorOrigin={{
vertical,
horizontal,
Expand Down

0 comments on commit f368577

Please sign in to comment.