aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/WebviewLoader
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-08 23:42:04 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-08 23:42:04 +0100
commitac17de796b9a160099163398c548fb0a53b04577 (patch)
tree2b0cb0ca7e252a30869e571e23a712a6ebb21594 /src/components/ui/WebviewLoader
parentPolish webview error handler (diff)
downloadferdium-app-ac17de796b9a160099163398c548fb0a53b04577.tar.gz
ferdium-app-ac17de796b9a160099163398c548fb0a53b04577.tar.zst
ferdium-app-ac17de796b9a160099163398c548fb0a53b04577.zip
Fix linting issues
Diffstat (limited to 'src/components/ui/WebviewLoader')
-rw-r--r--src/components/ui/WebviewLoader/index.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/ui/WebviewLoader/index.js b/src/components/ui/WebviewLoader/index.js
index eff4dc3d7..950312bbb 100644
--- a/src/components/ui/WebviewLoader/index.js
+++ b/src/components/ui/WebviewLoader/index.js
@@ -1,9 +1,16 @@
1import React from 'react'; 1import React from 'react';
2import PropTypes from 'prop-types';
2 3
3import FullscreenLoader from '../FullscreenLoader'; 4import FullscreenLoader from '../FullscreenLoader';
4 5
5export default ({ name }) => ( 6const WebviewLoader = ({ name }) => (
6 <FullscreenLoader 7 <FullscreenLoader
7 title={`Loading ${name}`} 8 title={`Loading ${name}`}
8 /> 9 />
9); 10);
11
12WebviewLoader.propTypes = {
13 name: PropTypes.string.isRequired,
14};
15
16export default WebviewLoader;