feat: error page on invalid course key (#761)
This commit is contained in:
14
src/generic/NotFoundAlert.jsx
Normal file
14
src/generic/NotFoundAlert.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||
import { Alert } from '@edx/paragon';
|
||||
|
||||
const NotFoundAlert = () => (
|
||||
<Alert variant="danger" data-testid="notFoundAlert">
|
||||
<FormattedMessage
|
||||
id="authoring.alert.error.notfound"
|
||||
defaultMessage="Not found."
|
||||
/>
|
||||
</Alert>
|
||||
);
|
||||
|
||||
export default NotFoundAlert;
|
||||
Reference in New Issue
Block a user