style: always passes this condition

This commit is contained in:
Junseo Park 2021-01-13 23:41:41 +09:00 committed by GitHub
parent 98a5c3f657
commit 1c276e13eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ export const getServerSideProps = async (ctx: Context) => {
return { return {
props: { props: {
data, data,
date: SnowflakeUtil.deconstruct(data?.id ?? '0').date.toJSON() date: SnowflakeUtil.deconstruct(data.id ?? '0').date.toJSON()
}, },
} }
} }