feat: error page on invalid course key (#761)

This commit is contained in:
Artur Gaspar
2024-01-04 12:28:19 -03:00
committed by GitHub
parent 52b75e0b06
commit 2e070c9a12
5 changed files with 95 additions and 14 deletions

View 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;