Skip to content

Commit 5cb48a3

Browse files
committed
remove unnecessary fragment
1 parent 2d81731 commit 5cb48a3

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/pages/workspace/WorkspacePageWithSections.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,16 @@ class WorkspacePageWithSections extends React.Component {
103103
onBackButtonPress={() => Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policyID))}
104104
onCloseButtonPress={() => Navigation.dismissModal()}
105105
/>
106-
<>
107-
<ScrollView
108-
style={[styles.settingsPageBackground, styles.flex1, styles.w100]}
109-
>
110-
<View style={[styles.w100, styles.flex1]}>
111-
112-
{this.props.children(hasVBA, policyID, isUsingECard)}
113-
114-
</View>
115-
</ScrollView>
116-
{this.props.footer}
117-
</>
106+
<ScrollView
107+
style={[styles.settingsPageBackground, styles.flex1, styles.w100]}
108+
>
109+
<View style={[styles.w100, styles.flex1]}>
110+
111+
{this.props.children(hasVBA, policyID, isUsingECard)}
112+
113+
</View>
114+
</ScrollView>
115+
{this.props.footer}
118116
</ScreenWrapper>
119117
);
120118
}

0 commit comments

Comments
 (0)