More react

- consolidated lang items
- proxy host paths work
This commit is contained in:
Jamie Curnow committed 2025-10-16 18:59:19 +10:00
1 parent 7af01d0fc7
commit f2b5b19a83
56 files changed
+946 -928

No files matched your search

+12 -1
View File
@@ -24,4 +24,15 @@ const showError = (message: string) => {
});
};
export { showSuccess, showError };
const showObjectSuccess = (obj: string, action: string) => {
showSuccess(
intl.formatMessage(
{
id: `notification.object-${action}`,
},
{ object: intl.formatMessage({ id: obj }) },
),
);
};
export { showSuccess, showError, showObjectSuccess };