Skip to content

Commit

Permalink
Import Staff type to StaffCard.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Cykotech committed Feb 15, 2025
1 parent b14db6a commit aca1430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/About/Staff.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import StaffCard from "./StaffCard.tsx";
import staff from "./staff-info.json";

interface Staff {
export interface Staff {
name: string;
preferredLanguage: string;
bio: string;
Expand Down
2 changes: 2 additions & 0 deletions src/routes/About/StaffCard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Staff } from "./Staff";

interface Props {
staff: Staff;
}
Expand Down

0 comments on commit aca1430

Please sign in to comment.