File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# react-router-typesafe
22
3+ ## 1.3.2
4+
5+ ### Patch Changes
6+
7+ - Fixed re-export of useRouteLoaderData from mistakenly exporting useLoaderData to the right module
8+
39## 1.3.1
410
511### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " react-router-typesafe" ,
3- "version" : " 1.3.1 " ,
3+ "version" : " 1.3.2 " ,
44 "description" : " type safe patches of react-router-dom" ,
55 "main" : " ./dist/index.js" ,
66 "module" : " ./dist/index.mjs" ,
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ export type LoaderData<TLoaderFn extends LoaderFunction> = Awaited<ReturnType<TL
1717 */
1818export const useLoaderData = rrUseLoaderData as < TLoaderFn extends LoaderFunction > ( ) => LoaderData < TLoaderFn > ;
1919
20- export const useRouteLoaderData = rrUseLoaderData as < TLoaderFn extends LoaderFunction > (
20+ export const useRouteLoaderData = rrUseRouteLoaderData as < TLoaderFn extends LoaderFunction > (
2121 routeId : string ,
2222) => LoaderData < TLoaderFn > ;
You can’t perform that action at this time.
0 commit comments