Skip to content

Spinner Component has incorrect import path: @coss/ui/lib/utils instead of @/lib/utils #610

@shadyar-bakr

Description

@shadyar-bakr

The components/ui/spinner.tsx component contains an incorrect import path that causes TypeScript compilation to fail.
Current (Incorrect) Code:

import { cn } from '@coss/ui/lib/utils';
import { Loader2Icon } from 'lucide-react';

Expected (Correct) Code

import { cn } from '@/lib/utils';
import { Loader2Icon } from 'lucide-react';
Error Message
Type error: Cannot find module '@coss/ui/lib/utils' or its corresponding type declarations.
> 1 | import { cn } from '@coss/ui/lib/utils';
    |                    ^
  2 | import { Loader2Icon } from 'lucide-react';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions