diff --git a/web/frontend/pages/SalesSession.jsx b/web/frontend/pages/SalesSession.jsx
index 2d19555..b3a5a53 100644
--- a/web/frontend/pages/SalesSession.jsx
+++ b/web/frontend/pages/SalesSession.jsx
@@ -90,22 +90,6 @@ export default function SalesSession() {
},
});
- const {
- mutateAsync: editCurrentSalesSession,
- isLoading: editCurrentSalesSessionIsLoading,
- error: editCurrentSalesSessionError,
- } = useAppMutation({
- reactQueryOptions: {
- onSuccess: async () => {
- await queryClient.invalidateQueries("/api/sales-session");
- setShowSuccessAlert({
- show: true,
- type: "updated",
- });
- },
- },
- });
-
const {
mutateAsync: completeCurrentSalesSession,
isLoading: completeCurrentSalesSessionIsLoading,
@@ -134,22 +118,6 @@ export default function SalesSession() {
},
});
- const handleOnEditCurrentSalesSessionClick = async () => {
- await editCurrentSalesSession({
- url: "/api/sales-session/current",
- fetchInit: {
- method: "PATCH",
- headers: {
- "Content-Type": "application/json",
- },
- body: JSON.stringify({
- startDate: startDate.toISOString(),
- sessionDurationInDays: Number(sessionDurationInDays),
- }),
- },
- });
- };
-
const handleOnFinishCurrentSalesSessionClick = async () => {
await completeCurrentSalesSession({
url: "/api/sales-session/current/complete",
@@ -314,20 +282,6 @@ export default function SalesSession() {
{createSalesSessionIsLoading ? "Loading..." : "Create Sales Session"}
-
-