diff --git a/resources/js/admin/pages/EventDetailPage.tsx b/resources/js/admin/pages/EventDetailPage.tsx index e6c040f..fde9e1f 100644 --- a/resources/js/admin/pages/EventDetailPage.tsx +++ b/resources/js/admin/pages/EventDetailPage.tsx @@ -192,7 +192,7 @@ export default function EventDetailPage({ mode = 'detail' }: EventDetailPageProp ); const shownWarningToasts = React.useRef>(new Set()); - const [addonBusyId, setAddonBusyId] = React.useState(null); + //const [addonBusyId, setAddonBusyId] = React.useState(null); const handleAddonPurchase = React.useCallback( async (scope: 'photos' | 'guests' | 'gallery', addonKeyOverride?: string) => { diff --git a/resources/js/admin/pages/EventInvitesPage.tsx b/resources/js/admin/pages/EventInvitesPage.tsx index f9fd9c5..6a57a6e 100644 --- a/resources/js/admin/pages/EventInvitesPage.tsx +++ b/resources/js/admin/pages/EventInvitesPage.tsx @@ -778,7 +778,7 @@ export default function EventInvitesPage(): React.ReactElement { const [addonBusy, setAddonBusy] = React.useState(null); const [addonsCatalog, setAddonsCatalog] = React.useState([]); - const [searchParams] = useSearchParams(); + //const [searchParams] = useSearchParams(); const handleAddonPurchase = React.useCallback( async (addonKey?: string) => { diff --git a/resources/js/admin/pages/EventPhotosPage.tsx b/resources/js/admin/pages/EventPhotosPage.tsx index be2c7eb..98d11de 100644 --- a/resources/js/admin/pages/EventPhotosPage.tsx +++ b/resources/js/admin/pages/EventPhotosPage.tsx @@ -37,7 +37,7 @@ export default function EventPhotosPage() { const [limits, setLimits] = React.useState(null); const [addons, setAddons] = React.useState([]); const [catalogError, setCatalogError] = React.useState(undefined); - const [searchParams, setSearchParams] = React.useState(() => new URLSearchParams(window.location.search)); + //const [searchParams, setSearchParams] = React.useState(() => new URLSearchParams(window.location.search)); const [eventAddons, setEventAddons] = React.useState([]); const load = React.useCallback(async () => {