chore: prettier

This commit is contained in:
Percs 2024-10-10 23:03:39 -05:00
parent b3eeb91a2d
commit 9db2842c95
4 changed files with 19 additions and 19 deletions

View file

@ -49,7 +49,7 @@ const store = $store(
"/bare/",
proxy: "",
},
{ ident: "settings", backing: "localstorage", autosave: "auto" },
{ ident: "settings", backing: "localstorage", autosave: "auto" }
);
connection.setTransport("/libcurl/index.mjs", [{ wisp: store.wispurl }]);
function App() {
@ -146,7 +146,7 @@ function App() {
if (url === "about:blank") return;
this.url = $scramjet.codecs.plain.decode(
url.substring((location.href + "/scramjet").length),
url.substring((location.href + "/scramjet").length)
);
});
@ -193,7 +193,7 @@ function App() {
<div class=${[flex, "nav"]} style="width: 60%">
<button on:click=${() => frame.back()}>&lt;-</button>
<input class="bar" style="flex: 1" bind:value=${use(this.url)} on:input=${(
e,
e
) => {
this.url = e.target.value;
}} on:keyup=${(e) => e.keyCode == 13 && (store.url = this.url) && handleSubmit()}></input>
@ -227,6 +227,6 @@ padding-bottom: 100px;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
`,
`
);
});