diff options
Diffstat (limited to 'src/view/com/onboard/Follows.web.tsx')
-rw-r--r-- | src/view/com/onboard/Follows.web.tsx | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/view/com/onboard/Follows.web.tsx b/src/view/com/onboard/Follows.web.tsx deleted file mode 100644 index 6b015bb09..000000000 --- a/src/view/com/onboard/Follows.web.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import React from 'react' -import {SafeAreaView, StyleSheet, TouchableOpacity} from 'react-native' -import {observer} from 'mobx-react-lite' -import {SuggestedFollows} from '../discover/SuggestedFollows' -import {CenteredView} from '../util/Views.web' -import {Text} from '../util/text/Text' -import {useStores} from 'state/index' -import {s} from 'lib/styles' - -export const Follows = observer(() => { - const store = useStores() - - const onNoSuggestions = () => { - // no suggestions, bounce from this view - store.onboard.next() - } - const onPressNext = () => store.onboard.next() - - return ( - <SafeAreaView style={styles.container}> - <CenteredView style={styles.header}> - <Text type="title-lg"> - Follow these people to see their posts in your feed - </Text> - <TouchableOpacity onPress={onPressNext}> - <Text style={[styles.title, s.blue3, s.pr10]}>Next »</Text> - </TouchableOpacity> - </CenteredView> - <SuggestedFollows onNoSuggestions={onNoSuggestions} /> - </SafeAreaView> - ) -}) - -const styles = StyleSheet.create({ - container: { - flex: 1, - }, - title: { - fontSize: 24, - fontWeight: 'bold', - }, - - header: { - paddingTop: 30, - paddingBottom: 40, - }, -}) |