utils cleanup, initial static generation
This commit is contained in:
1 parent
ec8700f3e9
commit
e1a3a82f75
86 files changed
+279
-261
No files matched your search
@@ -6,7 +6,7 @@ import classNames from "classnames";
|
||||
import Widget from "components/services/widgets/widget";
|
||||
import Block from "components/services/widgets/block";
|
||||
import Dropdown from "components/services/dropdown";
|
||||
import { formatProxyUrl } from "utils/api-helpers";
|
||||
import { formatProxyUrl } from "utils/proxy/api-helpers";
|
||||
|
||||
export default function Component({ service }) {
|
||||
const { t } = useTranslation();
|
||||
@@ -27,7 +27,7 @@ export default function Component({ service }) {
|
||||
const { data: statsData, error: statsError } = useSWR(
|
||||
formatProxyUrl(config, "v1/cryptocurrency/quotes/latest", {
|
||||
symbol: `${symbols.join(",")}`,
|
||||
convert: `${currencyCode}`
|
||||
convert: `${currencyCode}`,
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user