Fixed tech stack in README

This commit is contained in:
VityaSchel
2023-10-02 22:31:51 +04:00
parent cd22cb31d7
commit d8ccc560ee
2 changed files with 3 additions and 6 deletions

View File

@@ -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 {