Skip to content

TagSpaces is an offline, open source, document manager with tagging support

cleaning up

Ilian Sapundshiev57d7a2bc8343
diff --git a/app/components/CustomLogo.js b/app/components/CustomLogo.js
index 302371e11..16a90c74c 100644
--- a/app/components/CustomLogo.js
+++ b/app/components/CustomLogo.js
@@ -17,7 +17,7 @@
* @flow
*/
-import React, { Component } from 'react';
+import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import IconButton from '@material-ui/core/IconButton';
diff --git a/app/components/LoadingScreen.js b/app/components/LoadingScreen.js
index d47c6d1cd..305ac4d15 100644
--- a/app/components/LoadingScreen.js
+++ b/app/components/LoadingScreen.js
@@ -1,9 +1,7 @@
import React from 'react';
-export default class LoadingScreen extends React.Component {
- render() {
- return (
- <div id="loadingLogo">Loading ...</div>
- );
- }
-}
+const LoadingScreen = () => (
+ <div id="loadingLogo">Loading ...</div>
+);
+
+export default LoadingScreen;