jam411 3 лет назад
Родитель
Сommit
69c5a6bea7

+ 2 - 2
packages/app/src/components/ReactMarkdownComponents/TableWithEditButton.tsx

@@ -15,13 +15,13 @@ declare global {
 
 type TableWithEditButtonProps = {
   children: React.ReactNode,
-  className: string
   node: Element,
+  className?: string
 }
 
 export const TableWithEditButton = React.memo((props: TableWithEditButtonProps): JSX.Element => {
 
-  const { children, className, node } = props;
+  const { children, node, className } = props;
 
   const { data: isGuestUser } = useIsGuestUser();
   const { data: isSharedUser } = useIsSharedUser();