Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit a14a9ef

Browse files
committed
preventDefault
1 parent e21e8da commit a14a9ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Table.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ export function Table(tableData: TableDataType) {
308308
<div
309309
className={c(`td footer`)}
310310
key={`footer-add-row-button`}
311-
onClick={() => {
311+
onClick={(e) => {
312+
e.preventDefault();
312313
view.emitter.emit(
313314
EMITTERS_GROUPS.SHORTCUT,
314315
EMITTERS_SHORTCUT.ADD_NEW_ROW

0 commit comments

Comments
 (0)