mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Render FormattedMessage translations into React.Fragment by default (#38398)
This commit is contained in:
@@ -137,11 +137,7 @@ const preview: Preview = {
|
||||
}, [currentLocale, currentLocaleData]);
|
||||
|
||||
return (
|
||||
<IntlProvider
|
||||
locale={currentLocale}
|
||||
messages={currentLocaleData}
|
||||
textComponent='span'
|
||||
>
|
||||
<IntlProvider locale={currentLocale} messages={currentLocaleData}>
|
||||
<Story />
|
||||
</IntlProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user