Skip to content

Commit 66af353

Browse files
authored
fix: naming
1 parent 7db23bc commit 66af353

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Date/AutoSizer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ export default function AutoSizer({
2626
[layout, setLayout]
2727
)
2828

29-
const isLayoutInizialized = layout && layout.height > 0 && layout.width > 0
29+
const isLayoutInitialized = layout && layout.height > 0 && layout.width > 0
3030

3131
return (
3232
<View
3333
onLayout={onLayout}
34-
style={[sharedStyles.overflowHidden, sharedStyles.root, isLayoutInizialized && layout]}
34+
style={[sharedStyles.overflowHidden, sharedStyles.root, isLayoutInitialized && layout]}
3535
>
36-
{isLayoutInizialized ? children(layout) : null}
36+
{isLayoutInitialized ? children(layout) : null}
3737
</View>
3838
)
3939
}

0 commit comments

Comments
 (0)