diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index ed86c43f39..c6fb903570 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,24 +1,79 @@ /* eslint-disable max-lines-per-function */ import React, { Component } from 'react'; -import UserContext from 'context/context'; -import './footer.scss'; -import { _t } from 'src/utils/locale'; -import { getLocale } from '../../utils/locale'; -import { IconBytedanceLogo } from '@douyinfe/semi-icons'; +import { FormattedMessage } from 'react-intl'; + +import './index.scss'; +import { getLocale } from "../../utils/locale"; +const _t = id => ; export class Footer extends Component { - static contextType = UserContext; + render() { + const locale = getLocale(); + const { style } = this.props; return ( -