feat(api): decouple api from curriculum (#40703)
This commit is contained in:
committed by
GitHub
parent
f4bbe3f34c
commit
c077ffe4b9
@@ -1,8 +0,0 @@
|
||||
import _ from 'lodash';
|
||||
|
||||
export const alertTypes = _.keyBy(
|
||||
['success', 'info', 'warning', 'danger'],
|
||||
_.identity
|
||||
);
|
||||
|
||||
export const normalizeAlertType = alertType => alertTypes[alertType] || 'info';
|
Reference in New Issue
Block a user