about summary refs log tree commit diff
path: root/src/components/PostControls
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-09-09 18:09:10 +0300
committerGitHub <noreply@github.com>2025-09-09 08:09:10 -0700
commit3e2c181c404e2070873bc9c473b428a610bd193e (patch)
tree3a579b8e99852ffa339756e2069850dce4151d09 /src/components/PostControls
parentd496a223522b4cdefef0a8725ce31d05e398e68f (diff)
downloadvoidsky-3e2c181c404e2070873bc9c473b428a610bd193e.tar.zst
Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)
* update dependencies

* rm `import type React from 'react'`

* run codemods

* patch discord types

* update types/react-dom

* Update yarn.lock
Diffstat (limited to 'src/components/PostControls')
-rw-r--r--src/components/PostControls/PostMenu/index.tsx1
-rw-r--r--src/components/PostControls/ShareMenu/ShareMenuItems.web.tsx1
-rw-r--r--src/components/PostControls/ShareMenu/index.tsx1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/components/PostControls/PostMenu/index.tsx b/src/components/PostControls/PostMenu/index.tsx
index 1102aa9a4..950bc4f6d 100644
--- a/src/components/PostControls/PostMenu/index.tsx
+++ b/src/components/PostControls/PostMenu/index.tsx
@@ -8,7 +8,6 @@ import {
 } from '@atproto/api'
 import {msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
-import type React from 'react'
 
 import {type Shadow} from '#/state/cache/post-shadow'
 import {EventStopper} from '#/view/com/util/EventStopper'
diff --git a/src/components/PostControls/ShareMenu/ShareMenuItems.web.tsx b/src/components/PostControls/ShareMenu/ShareMenuItems.web.tsx
index d074cdcf0..ac424c37a 100644
--- a/src/components/PostControls/ShareMenu/ShareMenuItems.web.tsx
+++ b/src/components/PostControls/ShareMenu/ShareMenuItems.web.tsx
@@ -3,7 +3,6 @@ import {AtUri} from '@atproto/api'
 import {msg, Trans} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 import {useNavigation} from '@react-navigation/native'
-import type React from 'react'
 
 import {makeProfileLink} from '#/lib/routes/links'
 import {type NavigationProp} from '#/lib/routes/types'
diff --git a/src/components/PostControls/ShareMenu/index.tsx b/src/components/PostControls/ShareMenu/index.tsx
index 6f59c0d42..6127ca41d 100644
--- a/src/components/PostControls/ShareMenu/index.tsx
+++ b/src/components/PostControls/ShareMenu/index.tsx
@@ -9,7 +9,6 @@ import {
 } from '@atproto/api'
 import {msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
-import type React from 'react'
 
 import {makeProfileLink} from '#/lib/routes/links'
 import {shareUrl} from '#/lib/sharing'