Skip to content

Commit

Permalink
fix(testing): fixing missing default value in useRef
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneK committed Feb 26, 2025
1 parent 22b852e commit 2f402c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const PageThree = ({ nav }: { nav: React.MutableRefObject<HTMLIonNavElement> })
};

const NavComponent: React.FC = () => {
const ref = useRef<any>();
const ref = useRef<any>(null);
return (
<IonPage>
<IonNav
Expand Down

0 comments on commit 2f402c0

Please sign in to comment.