Skip to content

Commit

Permalink
[desk-tool] Add missing useRouter function to parts typings
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2020
1 parent 9623f23 commit f9ff909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@sanity/desk-tool/src/@types/parts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ declare module 'part:@sanity/base/router' {
state: S
}

export const useRouter: () => Router
export const StateLink: PureComponent<StateLinkProps>
}

0 comments on commit f9ff909

Please sign in to comment.