I'd suggest not to use FC< IAddWordProps > (or FunctionComponent<IAddWordProps>) here because of this type supposes component also accepts children (in this case not). Use VoidFunctionComponent<IAddWordProps> (or VFC<IAddWordProps>) instead.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'd suggest not to use
FC< IAddWordProps >
(orFunctionComponent<IAddWordProps>
) here because of this type supposes component also acceptschildren
(in this case not). UseVoidFunctionComponent<IAddWordProps>
(orVFC<IAddWordProps>
) instead.