Skip to content

Commit

Permalink
ts syntax whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrobskyhuntley committed Feb 27, 2024
1 parent 48b4e75 commit fe4b831
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import { Icon } from 'astro-icon/components'
interface Props {
navItems: [{
navItems: {
path: string;
title: string;
}];
}[];
}
import comp from "../config.json";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import Navbar from '@components/Navbar.astro';
interface Props {
navItems: [{
navItems: {
path: string;
title: string;
}];
}[];
}
const {navItems} = Astro.props;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
interface Props {
navItems: [{
navItems: {
path: string;
title: string;
}];
}[];
}
const {navItems} = Astro.props;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Organization.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ interface Props {
state?: string;
postal?: string;
};
socials?: [{
socials?: {
url?: string;
name?: string;
}];
}[];
};
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/People.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
import Person from '@components/Person.astro';
interface Props {
people: [{
people: {
name: string;
creds?: string[];
pronouns?: string;
roles?: string[];
email: string;
bio: string;
skills: string[];
socials?: [{
socials?: {
url?: string;
name?: string;
}];
}]
}[];
}[];
}
const { people } = Astro.props;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Person.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ interface Props {
email: string;
bio: string;
skills: string[];
socials?: [{
socials?: {
url?: string;
name?: string;
}];
}[];
};
}
Expand Down

0 comments on commit fe4b831

Please sign in to comment.