import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import Column from './column'; const messages = defineMessages({ title: { id: 'column_forbidden.title', defaultMessage: 'Forbidden' }, body: { id: 'column_forbidden.body', defaultMessage: 'You do not have permission to access this page.' }, }); const ColumnForbidden = () => { const intl = useIntl(); return (
{intl.formatMessage(messages.body)}
); }; export default ColumnForbidden;