Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majkshkurti committed Sep 5, 2024
1 parent 0760057 commit 14ca43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function OrganizationInviteJoin({ params: { inviteId } }) {
const registrationUrl = createRegistrationUrl(redirectUrl as string);
router.replace(registrationUrl);
}
}, [invitations, isLoading, router]);
}, [invitations, isLoading, router, isError]);

async function handleAcceptInvite() {
setIsBusy(true);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/modals/DatasetExternal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ const DatasetExternal: React.FC<DatasetExternalProps> = ({ open, onClose, projec
) {
let layers;
let url = externalUrl;
let legendUrls = [] as string[];
const legendUrls = [] as string[];
if (capabilities.type === imageryDataType.Enum.wms) {
layers = selectedDatasets.map((d) => d.Name);
if (!externalUrl) return;
Expand Down

0 comments on commit 14ca43f

Please sign in to comment.