fix: remove useless fragments
This commit is contained in:
committed by
Bill Thornton
parent
b4f745599b
commit
4c76ce11dd
@@ -1,4 +1,4 @@
|
||||
import React, { FunctionComponent, useEffect } from 'react';
|
||||
import { FunctionComponent, useEffect } from 'react';
|
||||
import { useLocation } from 'react-router-dom';
|
||||
|
||||
import ServerConnections from './ServerConnections';
|
||||
@@ -56,7 +56,7 @@ const ServerContentPage: FunctionComponent<ServerContentPageProps> = ({ view })
|
||||
location.search
|
||||
]);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
};
|
||||
|
||||
export default ServerContentPage;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { FunctionComponent, useEffect } from 'react';
|
||||
import { FunctionComponent, useEffect } from 'react';
|
||||
|
||||
import loading from './loading';
|
||||
|
||||
@@ -11,7 +11,7 @@ const Loading: FunctionComponent = () => {
|
||||
};
|
||||
}, []);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
};
|
||||
|
||||
export default Loading;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { FunctionComponent, useEffect } from 'react';
|
||||
import { FunctionComponent, useEffect } from 'react';
|
||||
import { useLocation } from 'react-router-dom';
|
||||
|
||||
import globalize from '../../scripts/globalize';
|
||||
@@ -79,7 +79,7 @@ const ViewManagerPage: FunctionComponent<ViewManagerPageProps> = ({
|
||||
location.search
|
||||
]);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
};
|
||||
|
||||
export default ViewManagerPage;
|
||||
|
||||
Reference in New Issue
Block a user