divya-kulkarni / thenujastore

0 stars 0 forks source link

Replace getNextPage() with Link #17

Closed divya-kulkarni closed 5 months ago

divya-kulkarni commented 5 months ago

Replaced with following snippet:

import { useNavigate } from 'react-router-dom';
const navigate = useNavigate();
---
<img onClick={( ) => navigate("/path")} />