Skip to content

Commit

Permalink
Merge pull request #2155 from City-of-Helsinki/HL-876-handling-bug
Browse files Browse the repository at this point in the history
HL-876: Handling view doesn't work
  • Loading branch information
mjturt authored Jul 19, 2023
2 parents 059d184 + 2de692a commit b012ab4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import useHandlerReviewActions from 'benefit/handler/hooks/useHandlerReviewActio
import { HandledAplication } from 'benefit/handler/types/application';
import { APPLICATION_STATUSES } from 'benefit-shared/constants';
import { Application } from 'benefit-shared/types/application';
import { isTruthy } from 'benefit-shared/utils/common';
import { useRouter } from 'next/router';
import { TFunction, useTranslation } from 'next-i18next';
import React, { useEffect, useState } from 'react';
Expand Down Expand Up @@ -40,7 +39,7 @@ const useHandlingApplicationActions = (
const router = useRouter();
const { openDrawer } = router.query;
const [isMessagesDrawerVisible, toggleMessagesDrawerVisiblity] = useToggle(
isTruthy(openDrawer.toString())
Boolean(openDrawer)
);

const [isConfirmationModalOpen, setIsConfirmationModalOpen] =
Expand Down

0 comments on commit b012ab4

Please sign in to comment.