From 259aabf82fb0477a9048ab5b3add0d51205f4c8a Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 13 Jun 2024 17:00:50 -0400 Subject: update dependencies --- frontend/src/components/DeckyToaster.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'frontend/src/components/DeckyToaster.tsx') diff --git a/frontend/src/components/DeckyToaster.tsx b/frontend/src/components/DeckyToaster.tsx index 1cb51d65..5302b89c 100644 --- a/frontend/src/components/DeckyToaster.tsx +++ b/frontend/src/components/DeckyToaster.tsx @@ -1,7 +1,6 @@ import type { ToastData } from '@decky/api'; import { joinClassNames } from '@decky/ui'; -import { FC, useEffect, useState } from 'react'; -import { ReactElement } from 'react-markdown/lib/react-markdown'; +import { FC, useEffect, useState, ReactElement } from 'react'; import { useDeckyToasterState } from './DeckyToasterState'; import Toast, { toastClasses } from './Toast'; @@ -20,7 +19,7 @@ const DeckyToaster: FC = () => { if (toasts.size > 0) { const [activeToast] = toasts; if (!renderedToast || activeToast != renderedToast.data) { - // TODO play toast sound + // TODO play toast soundReactElement console.log('rendering toast', activeToast); setRenderedToast({ component: , data: activeToast }); } -- cgit v1.2.3