mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
Fix TypeScript errors with @sanity/styled-components
This commit is contained in:
@@ -201,9 +201,7 @@ export const MenuAnchorCSS = css<MenuAnchorProps>`
|
||||
`}
|
||||
`;
|
||||
|
||||
export const MenuAnchor = styled.a`
|
||||
${MenuAnchorCSS}
|
||||
`;
|
||||
export const MenuAnchor = styled.a(MenuAnchorCSS);
|
||||
|
||||
const SelectedWrapper = styled.span`
|
||||
width: 24px;
|
||||
|
||||
@@ -60,7 +60,7 @@ const SubMenu = React.forwardRef(function _Template(
|
||||
<>
|
||||
<MenuButton ref={ref} {...menu} {...rest}>
|
||||
{(props) => (
|
||||
<MenuAnchor disclosure {...props}>
|
||||
<MenuAnchor {...props} disclosure>
|
||||
{title} <Disclosure color={theme.textTertiary} />
|
||||
</MenuAnchor>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user