From e51ddcc7012835d65b85788381086c3fa92bcd8d Mon Sep 17 00:00:00 2001 From: Tran Manh Date: Thu, 31 Aug 2023 10:30:19 +0700 Subject: [PATCH] [#29] Move rc-slider css to App --- src/App.tsx | 1 + src/components/AppSlider/index.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index a602fc6..61b05f2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,7 @@ import { useRoutes } from 'react-router-dom'; import 'dummy.scss'; import 'assets/stylesheets/application.scss'; +import 'rc-slider/assets/index.css'; import routes from './routes'; diff --git a/src/components/AppSlider/index.tsx b/src/components/AppSlider/index.tsx index f410115..3eb2217 100644 --- a/src/components/AppSlider/index.tsx +++ b/src/components/AppSlider/index.tsx @@ -1,7 +1,6 @@ import React from 'react'; import Slider from 'rc-slider'; -import 'rc-slider/assets/index.css'; export const appSliderDataTestIds = { base: 'app-slider__base',