File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ import {
1111
1212import { 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-
2014describe ( 'renderer/components/Oops.tsx' , ( ) => {
2115 beforeEach ( ( ) => {
2216 ensureStableEmojis ( ) ;
Original file line number Diff line number Diff line change 1- import type { ComponentType , FC } from 'react' ;
1+ import type { FC } from 'react' ;
22
33import type { Icon , OcticonProps } from '@primer/octicons-react' ;
44import 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-
185178export interface GitifyError {
186179 title : string ;
187180 descriptions : string [ ] ;
You can’t perform that action at this time.
0 commit comments