Skip to content

Commit dc6e900

Browse files
Constancescottybollinger
andauthored
Update x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
1 parent a25d7dd commit dc6e900

File tree

1 file changed

+1
-3
lines changed
  • x-pack/plugins/enterprise_search/public/applications/app_search/components/engine

1 file changed

+1
-3
lines changed

x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ export const EngineRouter: React.FC = () => {
8888
return <Redirect to={ENGINES_PATH} />;
8989
}
9090

91-
if (dataLoading) {
92-
return <Loading />;
93-
}
91+
if (dataLoading) return <Loading />;
9492

9593
return (
9694
<Switch>

0 commit comments

Comments
 (0)