@treely/strapi-slices 8.0.2 → 8.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.
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +1 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7904,11 +7904,10 @@ import {
|
|
|
7904
7904
|
BoemlyTag as BoemlyTag4
|
|
7905
7905
|
} from "boemly";
|
|
7906
7906
|
import Image33 from "next/image.js";
|
|
7907
|
-
import { IntlContext as IntlContext2 } from "react-intl";
|
|
7908
7907
|
import { useState as useState10 } from "react";
|
|
7909
7908
|
import { Fragment as Fragment29, jsx as jsx54, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7910
7909
|
var Timeline = ({ slice }) => {
|
|
7911
|
-
const { formatMessage } = useContext22(
|
|
7910
|
+
const { formatMessage } = useContext22(IntlContext);
|
|
7912
7911
|
const [visibleItems, setVisibleItems] = useState10(3);
|
|
7913
7912
|
const [mobile] = useMediaQuery8([BREAKPOINT_MD_QUERY]);
|
|
7914
7913
|
const [isOpen, setIsOpen] = useState10(false);
|