chore: add english comment
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import hotkeys from '@/config/hotkeys';
|
||||
import { platformCall } from '@/utils';
|
||||
import { SearchOutlined } from '@ant-design/icons';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Input } from 'antd';
|
||||
@@ -13,7 +12,6 @@ const SearchInput: React.FC<{
|
||||
const intl = useIntl();
|
||||
const [isFocus, setIsFocus] = useState(false);
|
||||
const inputRef = useRef<any>(null);
|
||||
const platform = platformCall();
|
||||
|
||||
useHotkeys(hotkeys.INPUT.join(','), () => {
|
||||
inputRef.current?.focus?.();
|
||||
|
||||
@@ -10,7 +10,6 @@ const Separator: React.FC = () => {
|
||||
style={{ height: 'calc(100vh - 89px)', marginInline: '0px' }}
|
||||
></Divider>
|
||||
<span className="shape"></span>
|
||||
{/* <span className="shape-s"></span> */}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user