Fix compiler warnings

This commit is contained in:
2026-07-18 15:09:58 -04:00
parent 2c023e89f8
commit e066f054bc
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -127,14 +127,11 @@ pub fn delete_space(server_url: &str, token: &str, space_id: &str) -> Result<(),
#[derive(Deserialize)] #[derive(Deserialize)]
pub struct ManifestEntry { pub struct ManifestEntry {
pub path: String, pub path: String,
pub kind: String,
pub hash: String, pub hash: String,
} }
#[derive(Deserialize)] #[derive(Deserialize)]
pub struct SpaceManifest { pub struct SpaceManifest {
pub space_id: String,
pub name: String,
pub entrypoint: String, pub entrypoint: String,
pub files: Vec<ManifestEntry>, pub files: Vec<ManifestEntry>,
} }
@@ -158,7 +155,6 @@ pub fn get_manifest(
#[derive(Deserialize)] #[derive(Deserialize)]
pub struct FileContent { pub struct FileContent {
pub path: String,
pub kind: String, pub kind: String,
pub hash: String, pub hash: String,
pub encoding: String, pub encoding: String,
+2 -1
View File
@@ -1,4 +1,5 @@
<script lang="ts"> <script lang="ts">
import { untrack } from "svelte";
import Modal from "./Modal.svelte"; import Modal from "./Modal.svelte";
import * as api from "$lib/ts/api"; import * as api from "$lib/ts/api";
@@ -10,7 +11,7 @@
let { serverUrl, onsuccess, onclose }: Props = $props(); let { serverUrl, onsuccess, onclose }: Props = $props();
let url = $state(serverUrl); let url = $state(untrack(() => serverUrl));
let email = $state(""); let email = $state("");
let password = $state(""); let password = $state("");
let busy = $state(false); let busy = $state(false);