Skip to content

Commit

Permalink
Treats toMountPoint - part I
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiopro committed Dec 3, 2021
1 parent f02ecf7 commit d7ff330
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function AddToCaseAction({ lensAttributes, timeRange }: AddToCaseProps) {
const {
cases,
application: { getUrlForApp },
theme,
} = kServices;

const getToastText = useCallback(
Expand All @@ -41,9 +42,10 @@ export function AddToCaseAction({ lensAttributes, timeRange }: AddToCaseProps) {
deepLinkId: CasesDeepLinkId.cases,
path: generateCaseViewPath({ detailName: theCase.id }),
})}
/>
/>,
{ theme$: theme?.theme$ }
),
[getUrlForApp]
[getUrlForApp, theme?.theme$]
);

const absoluteFromDate = parseRelativeDate(timeRange.from);
Expand Down

0 comments on commit d7ff330

Please sign in to comment.