You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor stuff but prevents compilation if left as-is
yarn run v1.22.22
$ next build
▲ Next.js 15.1.3
Creating an optimized production build ...
✓ Compiled successfully
Failed to compile.
./src/components/catalyst/avatar.tsx
48:15 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
65:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/badge.tsx
64:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/button.tsx
174:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/dropdown.tsx
60:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/heading.tsx
8:7 Error: 'Element' is never reassigned. Use 'const' instead. prefer-const
19:7 Error: 'Element' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/listbox.tsx
112:7 Error: 'sharedClasses' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/navbar.tsx
19:7 Error: 'id' is never reassigned. Use 'const' instead. prefer-const
44:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/sidebar-layout.tsx
52:8 Error: 'showSidebar' is never reassigned. Use 'const' instead. prefer-const
52:21 Error: 'setShowSidebar' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/sidebar.tsx
51:7 Error: 'id' is never reassigned. Use 'const' instead. prefer-const
86:7 Error: 'classes' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/stacked-layout.tsx
52:8 Error: 'showSidebar' is never reassigned. Use 'const' instead. prefer-const
52:21 Error: 'setShowSidebar' is never reassigned. Use 'const' instead. prefer-const
./src/components/catalyst/table.tsx
58:9 Error: 'striped' is never reassigned. Use 'const' instead. prefer-const
78:9 Error: 'bleed' is never reassigned. Use 'const' instead. prefer-const
78:16 Error: 'grid' is never reassigned. Use 'const' instead. prefer-const
94:9 Error: 'bleed' is never reassigned. Use 'const' instead. prefer-const
94:16 Error: 'dense' is never reassigned. Use 'const' instead. prefer-const
94:23 Error: 'grid' is never reassigned. Use 'const' instead. prefer-const
94:29 Error: 'striped' is never reassigned. Use 'const' instead. prefer-const
95:9 Error: 'href' is never reassigned. Use 'const' instead. prefer-const
95:15 Error: 'target' is never reassigned. Use 'const' instead. prefer-const
95:23 Error: 'title' is never reassigned. Use 'const' instead. prefer-const
96:8 Error: 'cellRef' is never reassigned. Use 'const' instead. prefer-const
96:17 Error: 'setCellRef' is never reassigned. Use 'const' instead. prefer-const
The text was updated successfully, but these errors were encountered:
masterkain
changed the title
typescript errors
[catalyst] typescript errors
Dec 29, 2024
minor stuff but prevents compilation if left as-is
The text was updated successfully, but these errors were encountered: