fix: make it work with new vite
This commit is contained in:
@@ -4,9 +4,10 @@ import { PageProps } from "fresh";
|
||||
import { resources } from "@lib/resources.ts";
|
||||
import { RedirectSearchHandler } from "@islands/Search.tsx";
|
||||
import { KMenu } from "@islands/KMenu.tsx";
|
||||
import { define } from "../utils.ts";
|
||||
// import "@lib/telegram.ts";
|
||||
|
||||
export default function Home(props: PageProps) {
|
||||
export default define.page(function (props: PageProps) {
|
||||
return (
|
||||
<>
|
||||
<RedirectSearchHandler />
|
||||
@@ -32,4 +33,4 @@ export default function Home(props: PageProps) {
|
||||
</MainLayout>
|
||||
</>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user