Skip to content

Commit

Permalink
fix: remove duplication of tooltips (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed May 13, 2024
1 parent 5d9397e commit e683688
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/studio-next/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const Sidebar: FunctionComponent<SidebarProps> = () => {
{navigation.map(item => (
<Tooltip content={item.tooltip} placement='right' hideOnClick={true} key={item.name}>
<button
title={item.title}
onClick={() => item.onClick()}
className={'flex text-sm focus:outline-none border-box p-2'}
type="button"
Expand All @@ -142,7 +141,6 @@ export const Sidebar: FunctionComponent<SidebarProps> = () => {
<div className="flex flex-col">
<Tooltip content='Studio settings' placement='right' hideOnClick={true}>
<button
title="Studio settings"
className='flex text-gray-500 hover:text-white focus:outline-none border-box p-4'
type="button"
onClick={() => showModal(SettingsModal)}
Expand Down

0 comments on commit e683688

Please sign in to comment.