Commit 4e580054 authored by Eric Rosenbaum's avatar Eric Rosenbaum

use import instead of require

parent 790e4333
import React, {useEffect} from 'react'; import React, {useEffect} from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
const FormattedMessage = require('react-intl').FormattedMessage; import {FormattedMessage} from 'react-intl';
import {connect} from 'react-redux'; import {connect} from 'react-redux';
import {useParams} from 'react-router'; import {useParams} from 'react-router';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment