Skip to content
Snippets Groups Projects
Commit 5e918244 authored by Trirst's avatar Trirst
Browse files

Update variable name

parent 296d7172
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
let tagType = tagTypes[0]; let tagType = tagTypes[0];
$: validTag = checkTag(tag); $: validTag = checkTag(tag);
let searchTags = ""; let searchTags = "";
let searchedSnowflakes = []; let searchSnowflakes = [];
function putTag() { function putTag() {
const options = { const options = {
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
return !tag.match(regex) || tag.length > 128; return !tag.match(regex) || tag.length > 128;
} }
async function searchImagesByTags() { async function searchImagesByTags() {
searchedSnowflakes = searchSnowflakes =
(await fetchAPI(paths.SearchField(parseSearchTags(searchTags)))) || (await fetchAPI(paths.SearchField(parseSearchTags(searchTags)))) ||
[]; [];
} }
...@@ -89,4 +89,4 @@ ...@@ -89,4 +89,4 @@
<div>Delimit tags by space to search multiple</div> <div>Delimit tags by space to search multiple</div>
</div> </div>
</section> </section>
<ImageList snowflakes={searchedSnowflakes} /> <ImageList snowflakes={searchSnowflakes} />
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment