From 4a69e4fe4021b00ecbd61818109800d5cba25a10 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 20 May 2025 15:53:06 +0300 Subject: [PATCH] rm react import --- src/components/PostControls/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/PostControls/index.tsx b/src/components/PostControls/index.tsx index 9a8f2dc498..9fd075c648 100644 --- a/src/components/PostControls/index.tsx +++ b/src/components/PostControls/index.tsx @@ -1,4 +1,4 @@ -import React, {memo} from 'react' +import {memo, useState} from 'react' import {Pressable, type StyleProp, View, type ViewStyle} from 'react-native' import * as Clipboard from 'expo-clipboard' import { @@ -95,8 +95,7 @@ let PostControls = ({ ) const replyDisabled = post.viewer?.replyDisabled - const [hasLikeIconBeenToggled, setHasLikeIconBeenToggled] = - React.useState(false) + const [hasLikeIconBeenToggled, setHasLikeIconBeenToggled] = useState(false) const onPressToggleLike = async () => { if (isBlocked) {