diff --git a/components/basics/FollowButton.js b/components/basics/FollowButton.js index 13a80fe..96e111e 100644 --- a/components/basics/FollowButton.js +++ b/components/basics/FollowButton.js @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import { Button } from 'react-native-paper'; +import { IconButton } from 'react-native-paper'; import API from './../../API.js'; import { useSnapshot } from 'valtio'; import GlobalState from '../../contexts/GlobalState.js'; @@ -69,7 +69,10 @@ let FollowButton = ({ profile }) => { <> { profile._id && profile._id !== viewer._id ? - : + : <> }