Water.Li
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/components/HeaderSearch/index.tsx
|
|
@ -51,7 +51,7 @@ const HeaderSearch: React.FC<HeaderSearchProps> = (props) => { |
|
|
className={classNames(className, styles.headerSearch)} |
|
|
className={classNames(className, styles.headerSearch)} |
|
|
onClick={() => { |
|
|
onClick={() => { |
|
|
setSearchMode(true); |
|
|
setSearchMode(true); |
|
|
if (searchMode && inputRef.current) { |
|
|
if (inputRef.current) { |
|
|
inputRef.current.focus(); |
|
|
inputRef.current.focus(); |
|
|
} |
|
|
} |
|
|
}} |
|
|
}} |
|
|
|