Skip to content

Commit 1383413

Browse files
authored
Merge pull request #13 from fullstacks-academy/update-readme
update readme
2 parents 9439a2a + 2f5ecf1 commit 1383413

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
- [x] Deno Linter -> CI Workflow
2020

2121
# Session 3
22-
- [ ] Unit test
23-
- [ ] Test runner -> CI Workflow
22+
- [x] Unit test (Frontend)
23+
- [x] Test runner -> CI Workflow (Frontend)
2424

2525
# Session 4
2626
- [ ] Component test
@@ -31,5 +31,9 @@
3131
- [ ] UI Acceptance -> Workflow
3232

3333
# Session 6
34+
- [ ] Unit test (Backend)
35+
- [ ] Test runner -> CI Workflow (Backend)
36+
37+
# Session 7
3438
- [ ] E2E Test
3539
- [ ] E2E Test -> CI Workflow

src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { Board } from "./components/Board";
99
const queryClient = new QueryClient({
1010
mutationCache: new MutationCache({
1111
onSuccess: (_, __, ___, mutation) => {
12-
if (mutation.meta?.inaroInvalidateKon) {
13-
queryClient.invalidateQueries(mutation.meta.inaroInvalidateKon);
12+
if (mutation.meta?.invalidates) {
13+
queryClient.invalidateQueries(mutation.meta.invalidates);
1414
}
1515
},
1616
}),
@@ -23,7 +23,6 @@ const queryClient = new QueryClient({
2323
});
2424

2525
export function App() {
26-
// Todo
2726
return (
2827
<QueryClientProvider client={queryClient}>
2928
<Board />

src/lib/useBoard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function useCreateColumn() {
2222
mutationFn: ({ id, title }: { id: string; title: string }) =>
2323
apiClient.createColumn(id, title),
2424
meta: {
25-
inaroInvalidateKon: [boardKeys.all, boardKeys.columns()],
25+
invalidates: [boardKeys.all, boardKeys.columns()],
2626
},
2727
});
2828
}

src/ui/IconButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const iconButtonVariants = cva(
1515
c2a: "text-green-900 hover:bg-green-50",
1616
},
1717
size: {
18-
default: "h-6 w-6",
19-
lg: "h-10 w-10",
18+
default: "size-6",
19+
lg: "size-10",
2020
},
2121
},
2222
defaultVariants: {

0 commit comments

Comments
 (0)