diff --git a/web/components/edit-fold-button.tsx b/web/components/edit-fold-button.tsx index 3ac2504d..2176e165 100644 --- a/web/components/edit-fold-button.tsx +++ b/web/components/edit-fold-button.tsx @@ -10,8 +10,8 @@ import { toCamelCase } from '../lib/util/format' import { Spacer } from './layout/spacer' import { TagsList } from './tags-list' -export function EditFoldButton(props: { fold: Fold }) { - const { fold } = props +export function EditFoldButton(props: { fold: Fold; className?: string }) { + const { fold, className } = props const [name, setName] = useState(fold.name) const [about, setAbout] = useState(fold.about ?? '') @@ -41,7 +41,7 @@ export function EditFoldButton(props: { fold: Fold }) { } return ( -