Skip to content

Commit

Permalink
Remove outdated code from NavTransitionContext
Browse files Browse the repository at this point in the history
  • Loading branch information
mendrew committed Aug 8, 2023
1 parent b78b3ea commit 94b301c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ export interface TransitionContextProps {
const TransitionContext = React.createContext<TransitionContextProps>({
entering: false,
});

export type TransitionDirection = undefined | 'forwards' | 'backwards';

export const useNavTransition = (): TransitionContextProps => React.useContext(TransitionContext);
export const useNavTransition = () => React.useContext(TransitionContext);

export const NavTransitionProvider = ({
children,
Expand Down

0 comments on commit 94b301c

Please sign in to comment.