Skip to content

Commit 41b9997

Browse files
hnn0003Copilot
andcommitted
Fix lint warnings
Co-authored-by: Copilot <copilot@github.com>
1 parent 2ae8920 commit 41b9997

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/saved-views-react/src/useSavedViews.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export interface SavedViewsActions {
125125
updateSavedView: (
126126
savedViewId: string,
127127
savedView: Partial<WriteableSavedViewProperties>,
128-
savedViewData?: SavedViewData | undefined,
128+
savedViewData?: SavedViewData,
129129
) => Promise<void>;
130130

131131
/**

packages/test-app-frontend/src/App/Authorization.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function InternalAuthorizationProvider(props: AuthorizationProviderProps & { cli
102102
const handleAccessTokenExpiring = async () => {
103103
try {
104104
await userManager.signinSilent();
105-
} catch (error) {
105+
} catch {
106106
toaster.informational(
107107
<SignInPopupPrompt text="Access token is expiring." onClick={signIn} />,
108108
{ type: "persisting", hasCloseButton: true },
@@ -410,7 +410,7 @@ export function SignInSilent(): ReactElement {
410410
}
411411

412412
await userManager.signinSilent();
413-
} catch (error) {
413+
} catch {
414414
if (disposed) {
415415
return;
416416
}

0 commit comments

Comments
 (0)