fix(lang): formatMessage should not use an object spread

pull/933/head
sct 4 years ago
parent 2c403e8e13
commit 8a7fa00164

@ -148,7 +148,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
if (data.runtime) {
movieAttributes.push(
intl.formatMessage({ ...messages.runtime }, { minutes: data.runtime })
intl.formatMessage(messages.runtime, { minutes: data.runtime })
);
}

Loading…
Cancel
Save