mirror of
https://github.com/sct/overseerr.git
synced 2025-09-27 04:22:37 +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) {
|
||||
movieAttributes.push(
|
||||
intl.formatMessage({ ...messages.runtime }, { minutes: data.runtime })
|
||||
intl.formatMessage(messages.runtime, { minutes: data.runtime })
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user