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