ghost-portal/packages/apps/src/NotFound/index.js
Jaco Greeff b71e029cc8
Round out available extrinsic methods (#8)
* Expand methods

* Remove extra params label

* Move shared extrinsic definitions

* Split extrinsics into own packages

* Update entry location

* Include all method calls

* Expand to include all extrinsics

* Cleanup extrinsic definitions

* Build folder change
2018-04-29 16:52:55 +02:00

28 lines
664 B
JavaScript

// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// @flow
import type { BaseProps } from '../types';
import './NotFound.css';
import React from 'react';
import translate from '../translate';
function NotFound ({ className, style, t }: BaseProps): React$Node {
return (
<div
className={['portal--NotFound', className].join(' ')}
style={style}
>
{t('notfound.error', {
defaultValue: 'ERROR: You have tried to access an application that does not exist'
})}
</div>
);
}
export default translate(NotFound);