Skip to content

Commit

Permalink
frontend: fixing typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSavage committed Oct 6, 2024
1 parent 5e6f32d commit d63a87e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { saveExistingCard } from "../../api/cards";
import { Button } from "../../components/Button";
import { FileUpload } from "../../components/files/FileUpload";
import { SearchTagDropdown } from "../../components/tags/SearchTagDropdown";
import { Card } from "../../models/Card";

interface ViewCardOptionsMenu {
viewingCard: Card;
Expand Down Expand Up @@ -55,7 +56,6 @@ export function ViewCardOptionsMenu({
};
let response = await saveExistingCard(editedCard);
setViewCard(editedCard);
fetchCard(id!);
}

return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useState, ChangeEvent } from "react";
import { Tag } from "../../models/Tags";

interface SearchTagDropdownProps {
tags: Tag[];
Expand Down

0 comments on commit d63a87e

Please sign in to comment.