fix archive link bug
This commit is contained in:
parent
4040cdc232
commit
8e329befda
|
@ -32,7 +32,7 @@ export function ArchivePage({ items, type }: Props) {
|
|||
const url =
|
||||
type !== "executives"
|
||||
? `/${type}/${year}/${term}`
|
||||
: `${year}/${term}`;
|
||||
: `/about/${type}/${year}/${term}`;
|
||||
return (
|
||||
<li key={url}>
|
||||
<Link href={url}>
|
||||
|
|
|
@ -16,7 +16,6 @@ interface Props {
|
|||
}
|
||||
|
||||
export default function Year(props: Props) {
|
||||
console.log(props.terms);
|
||||
return (
|
||||
<div className={styles.main}>
|
||||
<Title>{["Executives", props.year]}</Title>
|
||||
|
|
Loading…
Reference in New Issue