Skip to content

Commit

Permalink
Revert hideIcon change
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Nov 20, 2024
1 parent 7150757 commit 2f9bf4f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions apps/nextjs/src/components/DialogControl/DialogContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,7 @@ const DialogContents = ({
<OakModalCenterBody
title={dialogTitlesAndIcons[dialogWindow].title}
iconName={dialogTitlesAndIcons[dialogWindow].iconName}
iconOverride={
dialogWindow === "feedback" || dialogWindow === "share-chat"
? {
$display: "none",
}
: {}
}
hideIcon={dialogWindow === "feedback" || dialogWindow === "share-chat"}
>
{children}
{dialogWindow === "share-chat" && chatId && (
Expand Down

0 comments on commit 2f9bf4f

Please sign in to comment.