diff --git a/src/pages/popup/components/home/detail/EmailDetailPane.tsx b/src/pages/popup/components/home/detail/EmailDetailPane.tsx index ae258c6..1910bc3 100644 --- a/src/pages/popup/components/home/detail/EmailDetailPane.tsx +++ b/src/pages/popup/components/home/detail/EmailDetailPane.tsx @@ -23,6 +23,7 @@ import SaveButton from '@pages/popup/components/home/detail/SaveButton'; import CancelEditingButton from '@pages/popup/components/home/detail/CancelEditingButton'; import { CopyIcon } from '@pages/popup/components/home/icons/icons'; import EmailStateToggle from '@pages/popup/components/home/detail/EmailStateToggle'; +import NoEmailSelected from '@pages/popup/components/home/detail/NoEmailSelected'; export default function EmailDetailPane({ selectedEmail, @@ -88,6 +89,7 @@ export default function EmailDetailPane({ ); await setFavoriteEmailIds(updatedFavorites); setIsFavorited(false); + // remove the email from the favorites list } else { // Add the email to the favorites list const updatedFavoritedEmailIds = [ @@ -160,59 +162,74 @@ export default function EmailDetailPane({ emailDomain = selectedEmail.forDomain; } return ( -