diff --git a/app/components/Sidebar/components/SidebarButton.tsx b/app/components/Sidebar/components/SidebarButton.tsx index 1bebb27268..1b2a43fe1c 100644 --- a/app/components/Sidebar/components/SidebarButton.tsx +++ b/app/components/Sidebar/components/SidebarButton.tsx @@ -11,7 +11,7 @@ import Desktop from "~/utils/Desktop"; import { HStack } from "~/components/primitives/HStack"; export type SidebarButtonProps = React.ComponentProps & { - position: "top" | "bottom"; + position?: "top" | "bottom"; title: React.ReactNode; image: React.ReactNode; showMoreMenu?: boolean; @@ -23,7 +23,7 @@ const SidebarButton = observer( React.forwardRef( function SidebarButton_( { - position, + position = "top", showMoreMenu, image, title,