mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
use import instead of require
This commit is contained in:
parent
790e433313
commit
4e580054fc
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import React, {useEffect} from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
const FormattedMessage = require('react-intl').FormattedMessage;
|
||||
import {FormattedMessage} from 'react-intl';
|
||||
|
||||
import {connect} from 'react-redux';
|
||||
import {useParams} from 'react-router';
|
||||
|
|
Loading…
Add table
Reference in a new issue