Skip to content

Commit

Permalink
Add missing base to one getActionUrl
Browse files Browse the repository at this point in the history
An `any` type object broke type checking for this. :(
  • Loading branch information
jacobmischka committed Dec 7, 2023
1 parent a23e7f6 commit 1aabe1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/IVTable/useTableSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default function useTableSerializer(props: {
if (!cellObj.url && slug && typeof slug === 'string') {
cellObj.url = getActionUrl({
...cell,
base: window.location.origin,
slug,
})
cellObj.isInternalActionUrl = true
Expand Down

0 comments on commit 1aabe1c

Please sign in to comment.