Skip to content

Commit d47ee79

Browse files
authored
feat(idpe-15219): remove pinnedItems context and notification methods (#5822)
1 parent bf86641 commit d47ee79

File tree

2 files changed

+0
-166
lines changed

2 files changed

+0
-166
lines changed

src/shared/contexts/pinneditems.tsx

Lines changed: 0 additions & 148 deletions
This file was deleted.

src/shared/copy/notifications/common.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -142,24 +142,6 @@ export const missingUserInput = (
142142
message: `Missing user input: ${reason}`,
143143
})
144144

145-
export const pinnedItemFailure = (
146-
error: string,
147-
failureType: string
148-
): Notification => ({
149-
...defaultErrorNotification,
150-
icon: IconFont.Star,
151-
message: `Failed to ${failureType} pinned item: ${error}`,
152-
})
153-
154-
export const pinnedItemSuccess = (
155-
pinItemType: string,
156-
pinAction: string
157-
): Notification => ({
158-
...defaultSuccessNotification,
159-
icon: IconFont.Star,
160-
message: `Successfully ${pinAction} pinned ${pinItemType} to homepage`,
161-
})
162-
163145
export const autoRefreshTimeoutSuccess = (time?: string): Notification => ({
164146
...defaultSuccessNotification,
165147
duration: INDEFINITE,

0 commit comments

Comments
 (0)