Skip to content

Commit 3afc97b

Browse files
authored
fix: create-your-first-crud.mdx #61
2 parents ddfb2e8 + afca899 commit 3afc97b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pages/tutorials/create-your-first-crud.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ export const projectsRouter = createTRPCRouter({
637637
To prevent raw string urls all over our files, we are creating a `routes.ts` file in the `src/features/projects` folder.
638638
This file will have all the available urls of our `projects` feature.
639639

640-
```tsx filename="src/features/projects/PageAdminProjects.tsx" showLineNumbers
640+
```tsx filename="src/features/projects/routes.ts" showLineNumbers
641641
import { ROUTES_ADMIN } from "@/features/admin/routes";
642642

643643
export const ROUTES_PROJECTS = {
@@ -1004,9 +1004,13 @@ Revert this last change to continue.
10041004

10051005
First, let's add the `SearchInput` component in the UI.
10061006

1007-
```tsx {1, 12-16, 20-21} filename="src/features/projects/PageAdminProjects.tsx" showLineNumbers
1007+
```tsx {1, 4, 12-16, 20-21} filename="src/features/projects/PageAdminProjects.tsx" showLineNumbers
10081008
import { SearchInput } from "@/components/SearchInput";
1009-
1009+
import {
1010+
/* ... */,
1011+
Flex,
1012+
/* ... */
1013+
} from '@chakra-ui/react';
10101014
/* ... */
10111015

10121016
export default function PageAdminProjects() {

0 commit comments

Comments
 (0)