Skip to content

fix(frontend): @/utils/cn import within FileUploader.tsx#30

Open
mgoltzsche wants to merge 1 commit into
zilliztech:mainfrom
mgoltzsche:fix-utils-cn-import
Open

fix(frontend): @/utils/cn import within FileUploader.tsx#30
mgoltzsche wants to merge 1 commit into
zilliztech:mainfrom
mgoltzsche:fix-utils-cn-import

Conversation

@mgoltzsche
Copy link
Copy Markdown

Within FileUploader.tsx change the import of the non-existing @/lib/utils package to @/utils/cn, to make the frontend build succeed.

Otherwise running npm run build within the frontend directory fails with

src/components/import/FileUploader.tsx:4:20 - error TS2307: Cannot find module '@/lib/utils' or its corresponding type declarations.

4 import { cn } from '@/lib/utils'
                     ~~~~~~~~~~~~~

Within `FileUploader.tsx` change the import of the non-existing `@/lib/utils` package to `@/utils/cn`, to make the frontend build succeed.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
@mgoltzsche mgoltzsche force-pushed the fix-utils-cn-import branch from fc4e866 to 49be102 Compare May 10, 2026 15:42
@mgoltzsche mgoltzsche changed the title fix(frontend): @/utils/cn within FileUploader.tsx fix(frontend): @/utils/cn import within FileUploader.tsx May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant