diff --git a/src/components/Toast/index.ios.tsx b/src/components/Toast/index.ios.tsx index 041b088820..f1f2df047d 100644 --- a/src/components/Toast/index.ios.tsx +++ b/src/components/Toast/index.ios.tsx @@ -2,7 +2,6 @@ import React, {useSyncExternalStore} from 'react' import {View} from 'react-native' import {useSafeAreaInsets} from 'react-native-safe-area-context' import {nanoid} from 'nanoid/non-secure' -import {toast as sonner} from 'sonner-native' import {atoms as a} from '#/alf' import {DURATION} from '#/components/Toast/const' @@ -97,12 +96,6 @@ export function Outer({children}: {children: React.ReactNode}) { ) } -/** - * Access the full Sonner API - * @deprecated TBD - */ -export const api = sonner - /** * Our base toast API, using the `Toast` export of this file. */ diff --git a/src/components/Toast/index.tsx b/src/components/Toast/index.tsx index 54afeafb11..34b8443148 100644 --- a/src/components/Toast/index.tsx +++ b/src/components/Toast/index.tsx @@ -34,11 +34,6 @@ export function Outer({children}: {children: React.ReactNode}) { ) } -/** - * Access the full Sonner API - */ -export const api = sonner - /** * Our base toast API, using the `Toast` export of this file. */ diff --git a/src/components/Toast/index.web.tsx b/src/components/Toast/index.web.tsx index 95a4ff996a..ba03459893 100644 --- a/src/components/Toast/index.web.tsx +++ b/src/components/Toast/index.web.tsx @@ -32,11 +32,6 @@ export function ToastOutlet() { ) } -/** - * Access the full Sonner API - */ -export const api = sonner - /** * Our base toast API, using the `Toast` export of this file. */