File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/@react-spectrum/card/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export class GalleryLayout<T> extends BaseLayout<T> {
139
139
let y = this . margin ;
140
140
let availableWidth = visibleWidth - this . margin * 2 ;
141
141
142
- // If avaliable width is not greater than 0, skip node layout calculations
142
+ // If available width is not greater than 0, skip node layout calculations
143
143
if ( availableWidth > 0 ) {
144
144
// Compute aspect ratios for all of the items, and the total width if all items were on in a single row.
145
145
let ratios = [ ] ;
@@ -220,7 +220,7 @@ export class GalleryLayout<T> extends BaseLayout<T> {
220
220
if ( this . isLoading ) {
221
221
let loaderY = y ;
222
222
let loaderHeight = 60 ;
223
- // If there aren't any items, make loader take all avaliable room and remove margin from y calculation
223
+ // If there aren't any items, make loader take all available room and remove margin from y calculation
224
224
// so it doesn't scroll
225
225
if ( this . collection . size === 0 ) {
226
226
loaderY = 0 ;
You can’t perform that action at this time.
0 commit comments