fix: prefer-arrow-callback ESLint rule and Prettier formatting
Convert TypingIndicator named function expression to arrow function to satisfy prefer-arrow-callback lint rule. Auto-format RoomInput.tsx to resolve Prettier check failures in CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ export type TypingIndicatorProps = {
|
||||
};
|
||||
|
||||
export const TypingIndicator = as<'div', TypingIndicatorProps>(
|
||||
function TypingIndicatorInner({ size, disableAnimation, style, ...props }, ref) {
|
||||
({ size, disableAnimation, style, ...props }, ref) => {
|
||||
const [lotusTerminal] = useSetting(settingsAtom, 'lotusTerminal');
|
||||
return (
|
||||
<Box
|
||||
|
||||
Reference in New Issue
Block a user