mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10: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) => {
|
||||
const data = await Query.get.bot.load(ctx.query.id) ?? {}
|
||||
const data = await Query.get.bot.load(ctx.query.id) ?? { id: '' }
|
||||
return {
|
||||
props: {
|
||||
data,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user