Skip to content

Commit e714969

Browse files
authored
docs: fixed some typos (#7547)
docs: fixed some typos
1 parent 38ae32d commit e714969

File tree

1 file changed

+2
-2
lines changed
  • packages/docs/src/routes/docs/(qwikcity)/re-exporting-loaders

1 file changed

+2
-2
lines changed

packages/docs/src/routes/docs/(qwikcity)/re-exporting-loaders/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import CodeSandbox, {CodeFile} from '../../../../components/code-sandbox/index.t
1414
`routeAction$` and `routeLoader$` are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the routesDir directory
1515
[here is docs](https://qwik.dev/docs/route-loader/).
1616

17-
Sometimes you would like to declared them outside of the route boundaries.
17+
Sometimes you would like to declare them outside of the route boundaries.
1818
This may be useful when you want to create reusable logic or a library.
1919
In such a case, it is essential that this function is re-exported from within the router boundary otherwise it will not run or throw exception.
2020

@@ -96,7 +96,7 @@ Here, if this library needs `routeAction$` or `routeLoader$` we must re-export t
9696
<CodeSandbox src="/src/routes/demo/cookbook/re-exporting-loaders/third-party/index.tsx" style={{ height: '20em' }}>
9797
```tsx
9898
import { component$ } from '@builder.io/qwik';
99-
import { ThirdPartyPaymentComponent } from './third-party-library';
99+
import { ThirdPartyPaymentComponent, useThirdPartyPaymentLoader } from './third-party-library';
100100

101101
// As mentioned, here we are re-exporting the third-party loader
102102
export { useThirdPartyPaymentLoader } from './third-party-library';

0 commit comments

Comments
 (0)