diff --git a/src/components/Clickable/Clickable.tsx b/src/components/Clickable/Clickable.tsx index 0956c023..89c191db 100644 --- a/src/components/Clickable/Clickable.tsx +++ b/src/components/Clickable/Clickable.tsx @@ -8,16 +8,15 @@ type ButtonProps = { onClick?: () => void disabled?: boolean children: ReactNode -} & Pick, 'type' | 'autoFocus'> +} & Pick, 'type'> -export const Button: FC = ({children, onClick, disabled, type, autoFocus}) => { +export const Button: FC = ({children, onClick, disabled, type}) => { return ( diff --git a/src/components/Problems/Discussion.tsx b/src/components/Problems/Discussion.tsx index 59432110..4d588369 100644 --- a/src/components/Problems/Discussion.tsx +++ b/src/components/Problems/Discussion.tsx @@ -101,9 +101,7 @@ export const Discussion: FC = ({problemId, problemNumber, close actions={ <> - + } />