NotFound.tsx 397 Bytes
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
import * as React from 'react';
Oleksii Savran's avatar
Oleksii Savran committed
2
import { withTranslation, WithTranslation } from 'react-i18next';
Matija Obreza's avatar
Matija Obreza committed
3
4
5

// interface INotFoundProps extends React.ClassAttributes<any> {}

6
class NotFound extends React.Component<WithTranslation> {
Matija Obreza's avatar
Matija Obreza committed
7
8

  public render() {
Oleksii Savran's avatar
Oleksii Savran committed
9
    const { t } = this.props;
Matija Obreza's avatar
Matija Obreza committed
10
11
    return (
      <h3>
12
        {t('error.notFound')}
Matija Obreza's avatar
Matija Obreza committed
13
14
15
16
17
      </h3>
    )
  }
}

18
export default withTranslation()(NotFound)