Commit 70e600d8 authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Improve event error message

parent a279bc5b
......@@ -8,6 +8,7 @@ import 'moment/locale/nl';
import styles from './style/event';
import MemberView from './MemberView';
import LoadingScreen from './LoadingScreen';
import ErrorScreen from './ErrorScreen';
import { colors } from '../style';
class Event extends Component {
......@@ -252,9 +253,7 @@ class Event extends Component {
);
}
return (
<ScrollView backgroundColor={colors.background} contentContainerStyle={styles.eventView}>
<Text>Kon het evenement niet laden...</Text>
</ScrollView>
<ErrorScreen message="Could not load the event..." />
);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment