|
|
@ -1,4 +1,3 @@
|
|
|
|
import dynamic from "next/dynamic";
|
|
|
|
|
|
|
|
import { useTranslation } from "next-i18next";
|
|
|
|
import { useTranslation } from "next-i18next";
|
|
|
|
|
|
|
|
|
|
|
|
import Error from "../components/error";
|
|
|
|
import Error from "../components/error";
|
|
|
@ -7,8 +6,6 @@ import Block from "../components/block";
|
|
|
|
|
|
|
|
|
|
|
|
import useWidgetAPI from "utils/proxy/use-widget-api";
|
|
|
|
import useWidgetAPI from "utils/proxy/use-widget-api";
|
|
|
|
|
|
|
|
|
|
|
|
const Chart = dynamic(() => import("../components/chart"), { ssr: false });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function Component({ service }) {
|
|
|
|
export default function Component({ service }) {
|
|
|
|
const { t } = useTranslation();
|
|
|
|
const { t } = useTranslation();
|
|
|
|
const { widget } = service;
|
|
|
|
const { widget } = service;
|
|
|
|