From 9a0ab5032201603066748d7d96ca5749638f4a5a Mon Sep 17 00:00:00 2001 From: Dylan Roskilly Date: Fri, 26 Apr 2024 11:54:13 +0100 Subject: [PATCH] fix conflicting file names --- src/components/transactions/CSVUpload.tsx | 2 +- src/components/transactions/InputTransaction.tsx | 2 +- src/components/transactions/Transaction.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/transactions/CSVUpload.tsx b/src/components/transactions/CSVUpload.tsx index ba8c373..193d88d 100644 --- a/src/components/transactions/CSVUpload.tsx +++ b/src/components/transactions/CSVUpload.tsx @@ -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> }) { diff --git a/src/components/transactions/InputTransaction.tsx b/src/components/transactions/InputTransaction.tsx index 07453e4..f5485e4 100644 --- a/src/components/transactions/InputTransaction.tsx +++ b/src/components/transactions/InputTransaction.tsx @@ -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> }) { const [name, setName] = useState(""); diff --git a/src/components/transactions/Transaction.ts b/src/components/transactions/Transaction.ts index c26f531..d9c1fa5 100644 --- a/src/components/transactions/Transaction.ts +++ b/src/components/transactions/Transaction.ts @@ -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": "💸",