Skip to content

Commit

Permalink
copypasta.......
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhorner committed Sep 22, 2024
1 parent 6758050 commit cb66924
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
directories = await getDirectories()
}
async function createTarget() {
async function createDirectory() {
await fetch("/api/directories", {
method: "POST",
headers: {
Expand Down Expand Up @@ -72,7 +72,7 @@
/>
</Table.Cell>
<Table.Cell class="text-right">
<Button on:click={() => createTarget()} size="sm" title="Add">
<Button on:click={() => createDirectory()} size="sm" title="Add">
<FontAwesomeIcon icon={faPlus} />
</Button>
</Table.Cell>
Expand Down

0 comments on commit cb66924

Please sign in to comment.