ublo-lib 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ import classnames from "classnames";
|
|
|
4
4
|
import Link from "ublo/link";
|
|
5
5
|
import { useUbloContext } from "ublo/with-ublo";
|
|
6
6
|
import { SearchIcon, LoadIcon } from "./icons";
|
|
7
|
-
import * as Plausible from "
|
|
7
|
+
import * as Plausible from "../plausible";
|
|
8
8
|
import { useSearch } from "./hooks/use-search";
|
|
9
9
|
import * as KeyboardKeys from "./utils/keyboard-keys";
|
|
10
10
|
import { message } from "./messages";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useUbloContext } from "ublo/with-ublo";
|
|
3
|
-
import { loadJS } from "
|
|
3
|
+
import { loadJS } from "../../common/utils/load-js";
|
|
4
4
|
import * as Plausible from "../plausible";
|
|
5
5
|
|
|
6
6
|
const setupConfig = (lang, breadcrumb, cart = [], multipleVillages, hasLangPrefix) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
2
|
import { useUbloContext } from "ublo/with-ublo";
|
|
3
|
-
import { loadJS } from "
|
|
3
|
+
import { loadJS } from "../../common/utils/load-js";
|
|
4
4
|
|
|
5
5
|
const useReviews = (lang, resort, containerId = "msem-reviews", preventInit) => {
|
|
6
6
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Fetcher from "
|
|
1
|
+
import * as Fetcher from "../../../../common/utils/fetcher";
|
|
2
2
|
export const getLodgings = async (channel, resort) => {
|
|
3
3
|
const endpoint = "https://hebergements.esf-plus.com/api/getAccommodationsStructure";
|
|
4
4
|
return Fetcher.get(endpoint, {
|