Skip to content

Commit

Permalink
Fix type failures
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 10, 2023
1 parent 6b36b81 commit 92d7520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/navigator/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { useState } from '@wordpress/element';
/**
* Internal dependencies
*/
import { Button } from '../../';
import { Button } from '../../button';
import {
NavigatorProvider,
NavigatorScreen,
Expand Down Expand Up @@ -87,6 +87,7 @@ type CustomTestOnClickHandler = (
path: string;
}
| { type: 'goBack' }
| { type: 'goToParent' }
) => void;

function CustomNavigatorButton( {
Expand Down Expand Up @@ -123,7 +124,6 @@ function CustomNavigatorGoToBackButton( {
// Used to spy on the values passed to `navigator.goTo`.
onClick?.( { type: 'goTo', path } );
} }
path={ path }
{ ...props }
/>
);
Expand Down

0 comments on commit 92d7520

Please sign in to comment.