File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 44 Alert ,
55 Badge ,
66 Box ,
7- Collapse ,
87 Fab ,
98 Grid ,
109 Link ,
@@ -212,8 +211,9 @@ export const CurrentFlavors = (props: {
212211 smallScreen
213212 ) ;
214213 return (
215- < Collapse key = { flavor . productId } in = { flavor . count > 0 } timeout = { 300 } >
214+ flavor . count > 0 && (
216215 < Grid
216+ key = { flavor . productId }
217217 display = { "flex" }
218218 justifyContent = { "center" }
219219 sx = { { width : smallScreen ? "100%" : undefined } }
@@ -232,7 +232,7 @@ export const CurrentFlavors = (props: {
232232 </ Typography >
233233 </ Box >
234234 </ Grid >
235- </ Collapse >
235+ )
236236 ) ;
237237 } )
238238 ) }
@@ -292,8 +292,9 @@ export const LastBatch = (props: {
292292 smallScreen
293293 ) ;
294294 return (
295- < Collapse key = { flavor . productId } in = { flavor . count > 0 } timeout = { 300 } >
295+ flavor . count > 0 && (
296296 < Grid
297+ key = { flavor . productId }
297298 display = { "flex" }
298299 justifyContent = { "center" }
299300 sx = { { width : smallScreen ? "100%" : undefined } }
@@ -312,7 +313,7 @@ export const LastBatch = (props: {
312313 </ Typography >
313314 </ Box >
314315 </ Grid >
315- </ Collapse >
316+ )
316317 ) ;
317318 } )
318319 ) }
You can’t perform that action at this time.
0 commit comments