mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-10-23 11:23:05 +02:00
Fix motto bug
This commit is contained in:
parent
01e78e8f38
commit
08c377e190
@ -35,6 +35,8 @@ export const InfoStandWidgetUserView: FC<InfoStandWidgetUserViewProps> = props =
|
|||||||
|
|
||||||
const onMottoKeyDown = useCallback((event: KeyboardEvent<HTMLInputElement>) =>
|
const onMottoKeyDown = useCallback((event: KeyboardEvent<HTMLInputElement>) =>
|
||||||
{
|
{
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
switch(event.key)
|
switch(event.key)
|
||||||
{
|
{
|
||||||
case 'Enter':
|
case 'Enter':
|
||||||
|
Loading…
Reference in New Issue
Block a user