From df0fc77a9236dc510a5561ede6f16d1e4aa199c7 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 27 Mar 2024 09:48:20 +0200 Subject: [PATCH] fix(sidebars-wrapper): name of component --- src/components/PageWrappers/SideBarsWrapper.tsx | 10 +++++----- ...-wrapper.module.css => sidebars-wrapper.module.css} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename src/components/PageWrappers/{side-bars-wrapper.module.css => sidebars-wrapper.module.css} (100%) diff --git a/src/components/PageWrappers/SideBarsWrapper.tsx b/src/components/PageWrappers/SideBarsWrapper.tsx index e4e730b5..9429d7d4 100644 --- a/src/components/PageWrappers/SideBarsWrapper.tsx +++ b/src/components/PageWrappers/SideBarsWrapper.tsx @@ -3,19 +3,19 @@ import { XStack } from 'tamagui' import LeftSidebar from '../General/LeftSidebar/LeftSidebar' import RightSidebar from '../General/RightSideBar/RightSidebar' -import styles from './side-bars-wrapper.module.css' +import styles from './sidebars-wrapper.module.css' -type SideBardsWrapperProps = { +type SidebarsWrapperProps = { children: ReactNode isNotLeftSideBar?: boolean isNotRightSideBar?: boolean } -const SideBarsWrapper = ({ +const SidebarsWrapper = ({ children, isNotLeftSideBar, isNotRightSideBar, -}: SideBardsWrapperProps) => { +}: SidebarsWrapperProps) => { return ( {!isNotLeftSideBar && } @@ -29,4 +29,4 @@ const SideBarsWrapper = ({ ) } -export default SideBarsWrapper +export default SidebarsWrapper diff --git a/src/components/PageWrappers/side-bars-wrapper.module.css b/src/components/PageWrappers/sidebars-wrapper.module.css similarity index 100% rename from src/components/PageWrappers/side-bars-wrapper.module.css rename to src/components/PageWrappers/sidebars-wrapper.module.css