Skip to content

Commit

Permalink
fix conflicting file names
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanRoskilly committed Apr 26, 2024
1 parent 7766095 commit 9a0ab50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/transactions/CSVUpload.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from "react";
import { Transaction } from "./Transaction";
import { Alert, Button, Form, Modal } from "react-bootstrap";
import { writeNewTransactionsBatched } from "../../utils/firestore";
import { writeNewTransactionsBatched } from "../../utils/firestore.ts";
import { auth } from "../../utils/firebase";

export function CSVUpload({ show, setShow }: { show: boolean, setShow: React.Dispatch<React.SetStateAction<boolean>> }) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/transactions/InputTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from "react";
import { Transaction, emojis, formatDate, formatTime } from "./Transaction";
import { Button, Modal, Form, Alert } from "react-bootstrap";
import { auth } from "../../utils/firebase";
import { writeNewTransaction } from "../../utils/firestore";
import { writeNewTransaction } from "../../utils/firestore.ts";

export function InputTransaction({ show, setShow}: { show: boolean, setShow: React.Dispatch<React.SetStateAction<boolean>> }) {
const [name, setName] = useState<string>("");
Expand Down
2 changes: 1 addition & 1 deletion src/components/transactions/Transaction.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Transaction as TransactionDocument } from "../../utils/firestore";
import { Transaction as TransactionDocument } from "../../utils/firestore.ts";

export const emojis: { [index: string]: string } = {
"Income": "💸",
Expand Down

0 comments on commit 9a0ab50

Please sign in to comment.