Fixed tech stack in README
This commit is contained in:
@@ -6,16 +6,14 @@ import { NextSerialized, nextDeserializer, nextSerialized } from '@/app/utils/da
|
||||
import { NavBar } from '@/widgets/navbar'
|
||||
import { LastUpdateAt } from '@/entities/last-update-at'
|
||||
import { groups } from '@/shared/data/groups'
|
||||
import Head from 'next/head'
|
||||
|
||||
type PageProps = NextSerialized<{
|
||||
schedule: Day[]
|
||||
parsedAt: Date
|
||||
groupName: string
|
||||
}>
|
||||
|
||||
export default function HomePage(props: PageProps) {
|
||||
const { schedule, parsedAt, groupName } = nextDeserializer(props)
|
||||
const { schedule, parsedAt } = nextDeserializer(props)
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -47,8 +45,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext<{ gr
|
||||
return {
|
||||
props: nextSerialized({
|
||||
schedule: schedule,
|
||||
parsedAt: parsedAt,
|
||||
groupName: 'fucking slaves'
|
||||
parsedAt: parsedAt
|
||||
})
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user