From 3e2c181c404e2070873bc9c473b428a610bd193e Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 9 Sep 2025 18:09:10 +0300 Subject: 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 --- src/components/Dialog/types.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/components/Dialog/types.ts') diff --git a/src/components/Dialog/types.ts b/src/components/Dialog/types.ts index 1308e625c..938d7c744 100644 --- a/src/components/Dialog/types.ts +++ b/src/components/Dialog/types.ts @@ -5,7 +5,6 @@ import { type StyleProp, type ViewStyle, } from 'react-native' -import type React from 'react' import {type ViewStyleProp} from '#/alf' import {type BottomSheetViewProps} from '../../../modules/bottom-sheet' @@ -34,7 +33,7 @@ export type DialogControlRefProps = { */ export type DialogControlProps = DialogControlRefProps & { id: string - ref: React.RefObject + ref: React.RefObject isOpen?: boolean } -- cgit 1.4.1