diff --git a/packages/bruno-app/src/components/RequestTabs/index.js b/packages/bruno-app/src/components/RequestTabs/index.js index 7a8ed4a8..3063771e 100644 --- a/packages/bruno-app/src/components/RequestTabs/index.js +++ b/packages/bruno-app/src/components/RequestTabs/index.js @@ -76,7 +76,7 @@ const RequestTabs = () => { }); }; - // Todo: Must support ephermal requests + // Todo: Must support ephemeral requests return ( {newRequestModalOpen && ( diff --git a/packages/bruno-app/src/components/Sidebar/NewRequest/index.js b/packages/bruno-app/src/components/Sidebar/NewRequest/index.js index 2adcee0f..dc70b69c 100644 --- a/packages/bruno-app/src/components/Sidebar/NewRequest/index.js +++ b/packages/bruno-app/src/components/Sidebar/NewRequest/index.js @@ -5,14 +5,14 @@ import toast from 'react-hot-toast'; import { uuid } from 'utils/common'; import Modal from 'components/Modal'; import { useDispatch } from 'react-redux'; -import { newEphermalHttpRequest } from 'providers/ReduxStore/slices/collections'; +import { newEphemeralHttpRequest } from 'providers/ReduxStore/slices/collections'; import { newHttpRequest } from 'providers/ReduxStore/slices/collections/actions'; import { addTab } from 'providers/ReduxStore/slices/tabs'; import HttpMethodSelector from 'components/RequestPane/QueryUrl/HttpMethodSelector'; import { getDefaultRequestPaneTab } from 'utils/collections'; import StyledWrapper from './StyledWrapper'; -const NewRequest = ({ collection, item, isEphermal, onClose }) => { +const NewRequest = ({ collection, item, isEphemeral, onClose }) => { const dispatch = useDispatch(); const inputRef = useRef(); const formik = useFormik({ @@ -34,10 +34,10 @@ const NewRequest = ({ collection, item, isEphermal, onClose }) => { }) }), onSubmit: (values) => { - if (isEphermal) { + if (isEphemeral) { const uid = uuid(); dispatch( - newEphermalHttpRequest({ + newEphemeralHttpRequest({ uid: uid, requestName: values.requestName, requestType: values.requestType, diff --git a/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js b/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js index ea22f1de..495989eb 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/collections/index.js @@ -229,7 +229,7 @@ export const collectionsSlice = createSlice({ } } }, - newEphermalHttpRequest: (state, action) => { + newEphemeralHttpRequest: (state, action) => { const collection = findCollectionByUid(state.collections, action.payload.collectionUid); if (collection && collection.items && collection.items.length) { @@ -1154,7 +1154,7 @@ export const { requestCancelled, responseReceived, saveRequest, - newEphermalHttpRequest, + newEphemeralHttpRequest, collectionClicked, collectionFolderClicked, requestUrlChanged,