Skip to content

Commit 6c4b02e

Browse files
waleedlatif1claude
andcommitted
lint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e31cf4d commit 6c4b02e

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/data-table.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ export const DataTable = memo(function DataTable({ headers, rows }: DataTablePro
2525
{rows.map((row, ri) => (
2626
<tr key={ri} className='border-[var(--border)] border-t'>
2727
{headers.map((_, ci) => (
28-
<td
29-
key={ci}
30-
className='whitespace-nowrap px-3 py-2 text-[var(--text-secondary)]'
31-
>
28+
<td key={ci} className='whitespace-nowrap px-3 py-2 text-[var(--text-secondary)]'>
3229
{String(row[ci] ?? '')}
3330
</td>
3431
))}

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/file-viewer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,8 +1062,7 @@ const XlsxPreview = memo(function XlsxPreview({
10621062
<DataTable headers={currentSheet.headers} rows={currentSheet.rows} />
10631063
{currentSheet.truncated && (
10641064
<p className='mt-3 text-center text-[12px] text-[var(--text-muted)]'>
1065-
Showing first {XLSX_MAX_ROWS.toLocaleString()} rows. Download the file to view all
1066-
data.
1065+
Showing first {XLSX_MAX_ROWS.toLocaleString()} rows. Download the file to view all data.
10671066
</p>
10681067
)}
10691068
</div>

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/preview-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import remarkGfm from 'remark-gfm'
1010
import { Checkbox } from '@/components/emcn'
1111
import { cn } from '@/lib/core/utils/cn'
1212
import { getFileExtension } from '@/lib/uploads/utils/file-utils'
13-
import { DataTable } from './data-table'
1413
import { useAutoScroll } from '@/hooks/use-auto-scroll'
1514
import { useStreamingReveal } from '@/hooks/use-streaming-reveal'
15+
import { DataTable } from './data-table'
1616

1717
type PreviewType = 'markdown' | 'html' | 'csv' | 'svg' | null
1818

0 commit comments

Comments
 (0)