[Glitch] Add special alert for throttled requests

Port 81f864d4da to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
ThibG authored and Thibaut Girka committed 2019-08-29 17:32:22 +02:00
1 parent f11e9d5524
commit 04de74c992
4 files changed
+13 -3

No files matched your search

@@ -11,7 +11,7 @@ const mapStateToProps = (state, { intl }) => {
const value = notification[key];
if (typeof value === 'object') {
notification[key] = intl.formatMessage(value);
notification[key] = intl.formatMessage(value, notification[`${key}_values`]);
}
}));