Fix hook bug (#2995)
* Fix hook bug * Fix --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -3,7 +3,7 @@ import styled from '@emotion/styled';
|
||||
|
||||
import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
|
||||
|
||||
const StyledCreateNewButton = styled(MenuItem)<{ hovered: boolean }>`
|
||||
const StyledCreateNewButton = styled(MenuItem)<{ hovered?: boolean }>`
|
||||
${({ hovered, theme }) =>
|
||||
hovered &&
|
||||
css`
|
||||
|
||||
Reference in New Issue
Block a user