Commit 95f2960c by Andrey Golubov

Fix commit

parent 628f5576
import { Async, DecoderError } from '~/common/application/error';
import * as cr from '~/common/config-reader';
import * as eff from '~/common/eff';
import * as either from '~/common/either';
import { configDecoder, infoDecoder, presetKeyDecoder } from '~/config';
import { configDecoder, infoDecoder, presetKeyDecoder } from '../../../config';
import * as cr from '../../config-reader';
import * as eff from '../../eff';
import * as either from '../../either';
import { Async, DecoderError } from '../error';
export type Config = typeof configDecoder['_A'];
export type Info = typeof infoDecoder['_A'];
......
import * as React from 'react';
import { Err } from './index';
export type Props = { error: Err };
export function View({ error }: Props) {
return (
<div>
<h2 style={{ textAlign: 'center', padding: 16, fontWeight: 500, fontSize: 22 }}>
{'Sorry, an error occurred :('}
</h2>
<p style={{ textAlign: 'center', padding: 16, fontSize: 16 }}>{JSON.stringify(error)}</p>
</div>
);
}
import { Problem } from '../decoder';
import { Eff } from '../eff';
import { Err as LocalStorageErr } from '../persistent';
import { literal } from '../types';
import { Problem } from '../../decoder';
import { Eff } from '../../eff';
import { Err as LocalStorageErr } from '../../persistent';
import { literal } from '../../types';
/**
* Data конструктор `UnexpectedError` ошибок
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment