Shimeji with physics added !!!!!
This commit is contained in:
@@ -23,10 +23,13 @@
|
||||
}
|
||||
|
||||
function initializer(formData: FormData) {
|
||||
console.log(formData);
|
||||
|
||||
if(form?.error) return;
|
||||
const password = formData.get("password")?.toString();
|
||||
if(!password) throw new Error("password is null or undefined");
|
||||
terminalComponent.init(password)
|
||||
const username = formData.get("username")?.toString();
|
||||
if(!password || !username) throw new Error("password or username is null or undefined");
|
||||
terminalComponent.init(username, password)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import Login from "../../modules/Login.svelte";
|
||||
import Shimeji from "../../modules/Shimeji.svelte";
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<Login />
|
||||
<Shimeji />
|
||||
Reference in New Issue
Block a user