Skip to content

Commit 9369bb1

Browse files
committed
rename the component
1 parent 9835367 commit 9369bb1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pods/card/card.pod.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { useParams } from '@tanstack/react-router';
33

4-
export const DeckPod: React.FC = () => {
4+
export const CardPod: React.FC = () => {
55
const { deckId } = useParams({ strict: false });
66

77
return <h1>Card component {deckId}</h1>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createFileRoute } from '@tanstack/react-router';
2-
import { DeckPod } from '#pods/card/index.ts';
2+
import { CardPod } from '#pods/card/index.ts';
33

44
export const Route = createFileRoute('/_auth/dashboard/card/$deckId/')({
5-
component: DeckPod,
5+
component: CardPod,
66
})

0 commit comments

Comments
 (0)