Skip to content

Commit

Permalink
Fix ts error (elastic#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanSh authored and orouz committed Dec 21, 2021
1 parent dabbfbe commit 6b4d236
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* 2.0.
*/
import React from 'react';
import { RouteProps, Switch, Route } from 'react-router-dom';

import { RouteProps } from 'react-router-dom';
import { useKibana } from '../common/lib/kibana';

const Routes = () => <RedirectToCSP />;

export const routes: RouteProps[] = [{ path: '/csp', render: Routes }];
Expand Down

0 comments on commit 6b4d236

Please sign in to comment.