Skip to content

Commit

Permalink
Make title and contextLabel optional in removePinnedObject
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetrikat committed Feb 9, 2025
1 parent 5c5ff40 commit d6d092b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/localStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export async function removePinnedObject(
spaceId: string,
objectId: string,
spaceIdForPinned: string,
title: string,
contextLabel: string,
title?: string,
contextLabel?: string,
): Promise<void> {
const pinnedObjects = await getPinnedObjects(spaceIdForPinned);
const updatedPinnedObjects = pinnedObjects.filter(
Expand Down

0 comments on commit d6d092b

Please sign in to comment.