From 9a38d7ba0be89fcdb4dd46c3c1df86fca06b2bf6 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Thu, 22 Dec 2022 14:48:34 -0500 Subject: [PATCH] Follow button 1/2 way there --- components/basics/FollowButton.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ? - : + : <> }