Skip to content

Commit b587405

Browse files
authored
feat: info should not open toolbar (#1997)
1 parent 1d7c07a commit b587405

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/react-email/src/components/toolbar.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ const ToolbarInner = ({
156156
'The Compatibility tab shows how well the HTML/CSS is supported across mail clients like Outlook, Gmail, etc. Powered by Can I Email.') ||
157157
'Info'
158158
}
159-
onClick={() => {
160-
if (activeTab === undefined) {
161-
setActivePanelValue('linter');
162-
} else {
163-
setActivePanelValue(undefined);
164-
}
165-
}}
166159
>
167160
<IconInfo size={24} />
168161
</ToolbarButton>

0 commit comments

Comments
 (0)