feature/name-autocomplete #21
@ -5,8 +5,7 @@
|
||||
|
||||
export let form: ActionData;
|
||||
|
||||
let selectedName: String;
|
||||
let toCreate = '';
|
||||
let selectedName: string;
|
||||
|
||||
let files: FileList;
|
||||
let sending = false;
|
||||
@ -26,7 +25,7 @@
|
||||
);
|
||||
};
|
||||
|
||||
async function loadNames(keyword: String) {
|
||||
async function loadNames() {
|
||||
const url = './names';
|
||||
const response = await fetch(url);
|
||||
return await response.json();
|
||||
|
Reference in New Issue
Block a user