2021-10-14 14:04:17 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Card, CardBody } from '@wordpress/components';
|
|
|
|
import { Text } from '@woocommerce/experimental';
|
|
|
|
|
|
|
|
const NoMatch: React.FC = () => {
|
|
|
|
return (
|
|
|
|
<div className="woocommerce-layout__no-match">
|
|
|
|
<Card>
|
|
|
|
<CardBody>
|
|
|
|
<Text>
|
|
|
|
{ __(
|
|
|
|
'Sorry, you are not allowed to access this page.',
|
2022-03-30 09:00:04 +00:00
|
|
|
'woocommerce'
|
2021-10-14 14:04:17 +00:00
|
|
|
) }
|
|
|
|
</Text>
|
|
|
|
</CardBody>
|
|
|
|
</Card>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export { NoMatch };
|