fix: make it work with new vite
This commit is contained in:
@@ -27,7 +27,7 @@ export const handler = define.handlers({
|
||||
},
|
||||
});
|
||||
|
||||
export default function Greet(
|
||||
export default define.page(function (
|
||||
props: PageProps<
|
||||
{ article: ArticleResource; session: Record<string, string> }
|
||||
>,
|
||||
@@ -104,4 +104,4 @@ export default function Greet(
|
||||
</div>
|
||||
</MainLayout>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user