Skip to content

Commit 349113c

Browse files
committed
feat(auth): account scopes and expired pat workflow
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 651a2c8 commit 349113c

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

src/renderer/components/Oops.test.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ import {
1111

1212
import { Oops } from './Oops';
1313

14-
const navigateMock = vi.fn();
15-
vi.mock('react-router-dom', async () => ({
16-
...(await vi.importActual('react-router-dom')),
17-
useNavigate: () => navigateMock,
18-
}));
19-
2014
describe('renderer/components/Oops.tsx', () => {
2115
beforeEach(() => {
2216
ensureStableEmojis();

src/renderer/types.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComponentType, FC } from 'react';
1+
import type { FC } from 'react';
22

33
import type { Icon, OcticonProps } from '@primer/octicons-react';
44
import type { VariantType } from '@primer/react/dist/Button/types';
@@ -175,13 +175,6 @@ export interface GitifyUser {
175175
id: string;
176176
}
177177

178-
export interface GitifyErrorAction {
179-
label: string;
180-
route: string;
181-
variant: 'default' | 'danger' | 'primary' | 'invisible';
182-
icon: ComponentType;
183-
}
184-
185178
export interface GitifyError {
186179
title: string;
187180
descriptions: string[];

0 commit comments

Comments
 (0)