mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
9 lines
246 B
JavaScript
9 lines
246 B
JavaScript
import { useTranslation } from "next-i18next";
|
|
|
|
export default function Error() {
|
|
const { t } = useTranslation();
|
|
|
|
return <div className="absolute bottom-2 left-2 z-20 text-red-400 text-xs opacity-75">
|
|
{t("widget.api_error")}
|
|
</div>;
|
|
}
|