From 50d93bc249cbb063ccf8c8b71f0da4c386a5e5cb Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Mon, 16 Sep 2024 01:00:23 +0530 Subject: [PATCH] chore: reorganized folder structure for tab icons --- .../RequestTabs/RequestTab/{CloseTab => }/CloseTabIcon.js | 0 .../RequestTabs/RequestTab/{CloseTab => }/DraftTabIcon.js | 0 .../components/RequestTabs/RequestTab/RequestTabNotFound.js | 2 +- .../src/components/RequestTabs/RequestTab/SpecialTab.js | 2 +- .../bruno-app/src/components/RequestTabs/RequestTab/index.js | 4 ++-- 5 files changed, 4 insertions(+), 4 deletions(-) rename packages/bruno-app/src/components/RequestTabs/RequestTab/{CloseTab => }/CloseTabIcon.js (100%) rename packages/bruno-app/src/components/RequestTabs/RequestTab/{CloseTab => }/DraftTabIcon.js (100%) diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTab/CloseTabIcon.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTabIcon.js similarity index 100% rename from packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTab/CloseTabIcon.js rename to packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTabIcon.js diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTab/DraftTabIcon.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/DraftTabIcon.js similarity index 100% rename from packages/bruno-app/src/components/RequestTabs/RequestTab/CloseTab/DraftTabIcon.js rename to packages/bruno-app/src/components/RequestTabs/RequestTab/DraftTabIcon.js diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/RequestTabNotFound.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/RequestTabNotFound.js index 0f69311a0..220f12200 100644 --- a/packages/bruno-app/src/components/RequestTabs/RequestTab/RequestTabNotFound.js +++ b/packages/bruno-app/src/components/RequestTabs/RequestTab/RequestTabNotFound.js @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import { IconAlertTriangle } from '@tabler/icons'; -import CloseTabIcon from './CloseTab/CloseTabIcon'; +import CloseTabIcon from './CloseTabIcon'; const RequestTabNotFound = ({ handleCloseClick }) => { const [showErrorMessage, setShowErrorMessage] = useState(false); diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/SpecialTab.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/SpecialTab.js index fc5fba82d..c5d09faa8 100644 --- a/packages/bruno-app/src/components/RequestTabs/RequestTab/SpecialTab.js +++ b/packages/bruno-app/src/components/RequestTabs/RequestTab/SpecialTab.js @@ -1,5 +1,5 @@ import React from 'react'; -import CloseTabIcon from './CloseTab/CloseTabIcon'; +import CloseTabIcon from './CloseTabIcon'; import { IconVariable, IconSettings, IconRun, IconFolder, IconShieldLock } from '@tabler/icons'; const SpecialTab = ({ handleCloseClick, type, tabName }) => { diff --git a/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js b/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js index d326885a9..f03cd8779 100644 --- a/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js +++ b/packages/bruno-app/src/components/RequestTabs/RequestTab/index.js @@ -15,8 +15,8 @@ import StyledWrapper from './StyledWrapper'; import Dropdown from 'components/Dropdown'; import CloneCollectionItem from 'components/Sidebar/Collections/Collection/CollectionItem/CloneCollectionItem/index'; import NewRequest from 'components/Sidebar/NewRequest/index'; -import CloseTabIcon from './CloseTab/CloseTabIcon'; -import DraftTabIcon from './CloseTab/DraftTabIcon'; +import CloseTabIcon from './CloseTabIcon'; +import DraftTabIcon from './DraftTabIcon'; const RequestTab = ({ tab, collection, tabIndex, collectionRequestTabs, folderUid }) => { const dispatch = useDispatch();