diff --git a/04-frameworks/01-react/05-architecture/01-routes/src/scenes/detail.tsx b/04-frameworks/01-react/05-architecture/01-routes/src/scenes/detail.tsx index d200f1a6b..b591e3b4e 100644 --- a/04-frameworks/01-react/05-architecture/01-routes/src/scenes/detail.tsx +++ b/04-frameworks/01-react/05-architecture/01-routes/src/scenes/detail.tsx @@ -25,7 +25,7 @@ export const DetailPage: React.FC = () => { const { id } = useParams(); React.useEffect(() => { - fetch(`https://api.github.com/users/${id}`) + fetch(`https://api.github.com/user/${id}`) .then((response) => response.json()) .then((json) => setMember(json)); }, []);