Skip to content

Commit

Permalink
Fixed Unused Imports Ref #18
Browse files Browse the repository at this point in the history
  • Loading branch information
rhit-villencr committed Oct 19, 2024
1 parent abaaa7d commit 03008a3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion app/addEventPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useState } from 'react';
import { View, TextInput, Text, TouchableOpacity } from 'react-native';
import { Ionicons } from "@expo/vector-icons";
import DateTimePicker from '@react-native-community/datetimepicker';
import { Dropdown } from 'react-native-element-dropdown';
import { styles } from './styles';
Expand Down
4 changes: 0 additions & 4 deletions app/addFinanceEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ export default function AddFinanceEvents() {
];

const handleSave = async (data: any) => {
const formattedData = {
...data,
money: parseFloat(data.money)
}
try {
const response = await axios.post(IPAddr + '/add_finance_events', data);
console.log('Event saved successfully:', response.data);
Expand Down
2 changes: 1 addition & 1 deletion app/constants.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const IPAddr = "http://34.204.83.156:8080"
export const IPAddr = "http://137.112.197.73:8080"
2 changes: 1 addition & 1 deletion app/finance.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect, useCallback } from 'react';
import React, { useState, useCallback } from 'react';
import { View, Text, FlatList, TouchableOpacity } from 'react-native';
import BouncyCheckbox from "react-native-bouncy-checkbox";
import { Calendar } from 'react-native-calendars';
Expand Down
Binary file modified backend/omniplanner/omniplanner.db
Binary file not shown.

0 comments on commit 03008a3

Please sign in to comment.