remove need for export function self

This commit is contained in:
Luca Casonato
2021-05-08 03:12:56 +02:00
parent 303f4fd140
commit 9145711e2e
6 changed files with 12 additions and 15 deletions
-4
View File
@@ -10,7 +10,3 @@ export default function Home(props: PageProps) {
</div>
);
}
export function self() {
return import.meta.url;
}
-4
View File
@@ -3,7 +3,3 @@ import { h } from "../deps.ts";
export default function Home(props: {}) {
return <div>Hello World!</div>;
}
export function self() {
return import.meta.url;
}