rm react import

This commit is contained in:
Samuel Newman
2025-05-20 15:53:06 +03:00
parent b1727842cf
commit 4a69e4fe40
+2 -3
View File
@@ -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 {Pressable, type StyleProp, View, type ViewStyle} from 'react-native'
import * as Clipboard from 'expo-clipboard' import * as Clipboard from 'expo-clipboard'
import { import {
@@ -95,8 +95,7 @@ let PostControls = ({
) )
const replyDisabled = post.viewer?.replyDisabled const replyDisabled = post.viewer?.replyDisabled
const [hasLikeIconBeenToggled, setHasLikeIconBeenToggled] = const [hasLikeIconBeenToggled, setHasLikeIconBeenToggled] = useState(false)
React.useState(false)
const onPressToggleLike = async () => { const onPressToggleLike = async () => {
if (isBlocked) { if (isBlocked) {