diff --git a/webclient/src/App.js b/webclient/src/App.js index 3d87904..035471c 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -1,5 +1,5 @@ import React, { useState, useEffect, useReducer } from 'react'; -import { Switch, Route, Link, useHistory } from 'react-router-dom'; +import { Switch, Route, Link, useHistory } from 'react-router-dom'; import './semantic-ui/semantic.min.css'; import './light.css'; import './dark.css'; diff --git a/webclient/src/Auth.js b/webclient/src/Auth.js index c68f39a..7733fa6 100644 --- a/webclient/src/Auth.js +++ b/webclient/src/Auth.js @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Route, Link } from 'react-router-dom'; +import { Route, Link } from 'react-router-dom'; import './light.css'; import { Container, Form, Header, Image, Message, Segment } from 'semantic-ui-react'; import { requester } from './utils.js'; diff --git a/webclient/src/InstructorCourses.js b/webclient/src/InstructorCourses.js index 9fb75c7..5cc9d36 100644 --- a/webclient/src/InstructorCourses.js +++ b/webclient/src/InstructorCourses.js @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Link, useParams } from 'react-router-dom'; +import { Link, useParams } from 'react-router-dom'; import ReactQuill from 'react-quill'; import 'react-quill/dist/quill.snow.css'; import './light.css'; diff --git a/webclient/src/Transactions.js b/webclient/src/Transactions.js index ff6fa2c..e648a95 100644 --- a/webclient/src/Transactions.js +++ b/webclient/src/Transactions.js @@ -11,7 +11,7 @@ import { NotFound } from './Misc.js'; export function TransactionEditor(props) { const { token, input, setInput, error, noMemberSearch } = props; - const [ prevInput ] = useState(input); + const [prevInput] = useState(input); const handleValues = (e, v) => setInput({ ...input, [v.name]: v.value }); const handleChange = (e) => handleValues(e, e.currentTarget); @@ -102,7 +102,7 @@ export function TransactionEditor(props) { onChange={handleValues} /> - { input?.account_type !== prevInput?.account_type && input?.account_type === 'PayPal' && + {input?.account_type !== prevInput?.account_type && input?.account_type === 'PayPal' && Are you sure?

PayPal transactions should be automatic. Double check there's no duplicate. They may take 24h to appear.