mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-09-20 09:54:19 +02:00
17 lines
386 B
JavaScript
17 lines
386 B
JavaScript
|
/*
|
||
|
* Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
|
||
|
*
|
||
|
* This is free software, licensed under the GNU General Public License v3.
|
||
|
* See /LICENSE for more information.
|
||
|
*/
|
||
|
|
||
|
import React from "react";
|
||
|
|
||
|
export function ErrorMessage() {
|
||
|
return (
|
||
|
<p className="text-center text-danger">
|
||
|
{_("An error occurred while fetching data.")}
|
||
|
</p>
|
||
|
);
|
||
|
}
|