in src/components/ErrorDecoder/ErrorDecoder.js [65:88]
function ErrorResult(props: {|code: ?string, msg: string|}) {
const code = props.code;
const errorMsg = props.msg;
if (!code) {
return (
<p>
Khi bạn gặp lỗi, bạn sẽ nhận được một link đến trang này để hiện thị cho
bạn toàn bộ nội dung lỗi.
</p>
);
}
return (
<div>
<p>
<b>The full text of the error you just encountered is:</b>
</p>
<code>
<b>{urlify(errorMsg)}</b>
</code>
</div>
);
}