refactor widget

This commit is contained in:
Ben Phelps 2023-08-01 13:05:17 +03:00
parent 3fa72e48cc
commit b77909a360
18 changed files with 510 additions and 529 deletions

View file

@ -0,0 +1,9 @@
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>;
}