fix button type

This commit is contained in:
nflnkr 2023-08-23 14:14:40 +03:00
parent 30c5bcc6bd
commit b3d04f4f61

@ -1,15 +1,8 @@
import { IconButton, IconButtonProps, useTheme } from "@mui/material";
import { ForwardRefExoticComponent, RefAttributes } from "react";
import { LinkProps } from "react-router-dom";
import { deepmerge } from "@mui/utils";
type Props = IconButtonProps & {
component?: ForwardRefExoticComponent<LinkProps & RefAttributes<HTMLAnchorElement>>;
to?: string;
};
export function BurgerButton(props: Props) {
export function BurgerButton(props: IconButtonProps) {
const theme = useTheme();
return (