Ensure that all our components have display names
This turns on a lint rule to require display names for all of our components, which makes it a lot easier to find your way around the component tree in React's dev tools.
This commit is contained in:
@@ -122,3 +122,5 @@ export const AvatarInputField = forwardRef<HTMLInputElement, Props>(
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
AvatarInputField.displayName = "AvatarInputField";
|
||||
|
||||
@@ -166,6 +166,8 @@ export const InputField = forwardRef<
|
||||
},
|
||||
);
|
||||
|
||||
InputField.displayName = "InputField";
|
||||
|
||||
interface ErrorMessageProps {
|
||||
error: Error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user