Feat/evaluation #1
@@ -1,7 +1,7 @@
|
||||
import ical, { VEvent } from 'node-ical';
|
||||
interface PageProps {
|
||||
params: Promise<{
|
||||
'days': number
|
||||
'days': string;
|
||||
'ical-link': string[];
|
||||
}>;
|
||||
}
|
||||
@@ -68,7 +68,7 @@ export default async function EvaluationPage({ params }: PageProps) {
|
||||
const endDate = getIcalDate(event.end);
|
||||
|
||||
return (
|
||||
<li key={index} style={{ border: '1px solid #ccc', padding: '1rem', borderRadius: '8px' }}>
|
||||
<li key={event.uid || index} style={{ border: '1px solid #ccc', padding: '1rem', borderRadius: '8px' }}>
|
||||
{/* HIER WENDEN WIR DIE HILFSFUNKTION AN */}
|
||||
<h2>{getIcalText(event.summary)}</h2>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user