Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
npm run build in the ui (without docker)
See error:
Linting and checking validity of types ...Failed to compile.
./components/EmptyChat.tsx:15:22
Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'.
Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
13 | return (
14 |
15 |
| ^
16 |
17 |
18 |
Expected behavior
// Update the props type to include size
type ThemeSwitcherProps = {
className?: string;
size?: number; // Add the size property here
};
After the sugested update the front end was bult!
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
npm run build
in theui
(without docker)./components/EmptyChat.tsx:15:22 Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'. Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
13 | return ( 14 |
Or just delete the size attribute ^^
Fixed in #168