mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
types: fixed typing
This commit is contained in:
parent
d321033970
commit
74efd22363
@ -220,7 +220,7 @@ const Bots: NextPage<BotsProps> = ({ data, date }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const getServerSideProps = async (ctx: Context) => {
|
export const getServerSideProps = async (ctx: Context) => {
|
||||||
const data = await Query.get.bot.load(ctx.query.id) ?? {}
|
const data = await Query.get.bot.load(ctx.query.id) ?? { id: '' }
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
data,
|
data,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user