import { ReactComponent as TranslationIcon } from '@/assets/svg/translation.svg'; import { useTranslate } from '@/hooks/commonHooks'; import { GithubOutlined } from '@ant-design/icons'; import { Dropdown, MenuProps, Space } from 'antd'; import camelCase from 'lodash/camelCase'; import React from 'react'; import User from '../user'; import { LanguageList } from '@/constants/common'; import { useChangeLanguage } from '@/hooks/logicHooks'; import styled from './index.less'; const Circle = ({ children, ...restProps }: React.PropsWithChildren) => { return (