Skip to content

Commit aaa6af1

Browse files
committed
fix: story.parameters of null
1 parent 5292e19 commit aaa6af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-ui/src/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const Layout = ({
146146
<View style={{ flex: 1, overflow: 'hidden' }}>
147147
{children}
148148

149-
{story.parameters.hideFullScreenButton ? null : (
149+
{story?.parameters?.hideFullScreenButton ? null : (
150150
<TouchableOpacity
151151
style={{
152152
position: 'absolute',

0 commit comments

Comments
 (0)