Skip to content

Commit 5ff8eca

Browse files
committed
fix(tables): use caption size for the grid error and drop the redundant mock reset
1 parent 40cb72a commit 5ff8eca

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/table-grid.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4979,7 +4979,7 @@ export function TableGrid({
49794979
<td
49804980
colSpan={displayColumns.length + 1}
49814981
role='alert'
4982-
className='px-4 py-3 text-[var(--text-error)] text-small'
4982+
className='px-4 py-3 text-[var(--text-error)] text-caption'
49834983
>
49844984
{rowsError.message}
49854985
</td>

‎apps/sim/lib/table/import-runner.test.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ describe('runTableImport plan row limit', () => {
306306
}
307307

308308
beforeEach(() => {
309-
vi.clearAllMocks()
310309
mockGetMaxRowsPerTable.mockResolvedValue(limit)
311310
mockGetTableById.mockResolvedValue(table)
312311
mockNextImportStartPosition.mockResolvedValue(0)

0 commit comments

Comments
 (0)