mirror of
https://github.com/sct/overseerr.git
synced 2025-09-27 20:42:03 +02:00
fix(lang): formatMessage should not use an object spread
This commit is contained in:
@@ -148,7 +148,7 @@ const MovieDetails: React.FC<MovieDetailsProps> = ({ movie }) => {
|
|||||||
|
|
||||||
if (data.runtime) {
|
if (data.runtime) {
|
||||||
movieAttributes.push(
|
movieAttributes.push(
|
||||||
intl.formatMessage({ ...messages.runtime }, { minutes: data.runtime })
|
intl.formatMessage(messages.runtime, { minutes: data.runtime })
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user