feat: fix typos and other stuffs

This commit is contained in:
reya
2024-01-25 09:49:04 +07:00
parent c13aefcd15
commit bd45c36072
16 changed files with 62 additions and 88 deletions
@@ -55,7 +55,10 @@ export function ColumnProvider({ children }: { children: ReactNode }) {
column.title,
column.content,
);
if (result) setColumns((prev) => [...prev, result]);
if (result) {
setColumns((prev) => [...prev, result]);
vlistRef?.current.scrollToIndex(columns.length);
}
}, []);
const removeColumn = useCallback(async (id: number) => {