From a8ff2f8672cccbf4325abdb60b6c8949c81d626a Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Thu, 25 Apr 2019 15:28:21 +0200 Subject: [PATCH] Migrate to `react-waypoint` v9 React Waypoint has been updated to major version 9 (1) that comes with improvements in library size and minifications in form of named exports for the `Waypoint` module as well as for all defined constants. References: (1) https://github.com/brigade/react-waypoint/releases/tag/v9.0.0 GH-137 --- .../page/landing/SectionCommunity/SectionCommunity.jsx | 2 +- .../organisms/page/landing/SectionHero/SectionHero.jsx | 2 +- .../organisms/page/landing/SectionSyntax/SectionSyntax.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/organisms/page/landing/SectionCommunity/SectionCommunity.jsx b/src/components/organisms/page/landing/SectionCommunity/SectionCommunity.jsx index 362de36d..fed0dec3 100644 --- a/src/components/organisms/page/landing/SectionCommunity/SectionCommunity.jsx +++ b/src/components/organisms/page/landing/SectionCommunity/SectionCommunity.jsx @@ -8,7 +8,7 @@ */ import React, { PureComponent } from "react"; -import Waypoint from "react-waypoint"; +import { Waypoint } from "react-waypoint"; import ArcticOceanFractal, { POSE_HIDE, POSE_SHOW } from "arctic-ocean-fractal"; import { WaveFooter } from "atoms/core/vectors/divider"; diff --git a/src/components/organisms/page/landing/SectionHero/SectionHero.jsx b/src/components/organisms/page/landing/SectionHero/SectionHero.jsx index f2d95e0e..e925fb9d 100644 --- a/src/components/organisms/page/landing/SectionHero/SectionHero.jsx +++ b/src/components/organisms/page/landing/SectionHero/SectionHero.jsx @@ -8,7 +8,7 @@ */ import React, { PureComponent } from "react"; -import Waypoint from "react-waypoint"; +import { Waypoint } from "react-waypoint"; import ArcticLandscape, { POSE_DRAW, POSE_ERASE } from "arctic-landscape"; import { Content } from "containers/core/Section"; diff --git a/src/components/organisms/page/landing/SectionSyntax/SectionSyntax.jsx b/src/components/organisms/page/landing/SectionSyntax/SectionSyntax.jsx index dac8e5f9..18e297d3 100644 --- a/src/components/organisms/page/landing/SectionSyntax/SectionSyntax.jsx +++ b/src/components/organisms/page/landing/SectionSyntax/SectionSyntax.jsx @@ -8,7 +8,7 @@ */ import React, { PureComponent } from "react"; -import Waypoint from "react-waypoint"; +import { Waypoint } from "react-waypoint"; import Button from "atoms/core/Button"; import { Content } from "containers/core/Section";