Skip to content

Commit 0491192

Browse files
committed
Comment removed
Signed-off-by: DANIEL KATOTO <katotodan@gmail.com>
1 parent 62b1767 commit 0491192

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/sections/Pricing/review-slider.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11

22
import React, { useRef, useState, useLayoutEffect } from "react";
3-
// NOTE: useLayoutEffect is used intentionally here (instead of useEffect) so
4-
// that we can compute the correct `slidesToShow` value before the browser
5-
// paints the component. This avoids a visual flash where the slider briefly
6-
// renders with the desktop slide count and then corrects itself on mount.
73
import styled from "styled-components";
84
import Customers from "../../reusecore/Blockquote/Blockquote-image";
95
import Slider from "react-slick";

0 commit comments

Comments
 (0)