rm react import
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user