This commit is contained in:
parent
2dbd724622
commit
6061e9bbdf
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
export let form: ActionData;
|
export let form: ActionData;
|
||||||
|
|
||||||
let selectedName: String;
|
let selectedName: string;
|
||||||
let toCreate = '';
|
|
||||||
|
|
||||||
let files: FileList;
|
let files: FileList;
|
||||||
let sending = false;
|
let sending = false;
|
||||||
@ -26,7 +25,7 @@
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
async function loadNames(keyword: String) {
|
async function loadNames() {
|
||||||
const url = './names';
|
const url = './names';
|
||||||
const response = await fetch(url);
|
const response = await fetch(url);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
|
Reference in New Issue
Block a user