no-unused-vars for Auth.js Cards.js Paymaster.js Sign.js

This commit is contained in:
Kent Brockman 2022-07-13 00:37:12 -06:00
parent 02a7c4b05e
commit a9761b0917
4 changed files with 13 additions and 21 deletions

View File

@ -1,9 +1,8 @@
import React, { useState, useEffect, useReducer } from 'react'; import React, { useState } from 'react';
import { BrowserRouter as Router, Switch, Route, Link, useParams, useLocation } from 'react-router-dom'; import { Route, Link } from 'react-router-dom';
import moment from 'moment-timezone';
import './light.css'; import './light.css';
import { Container, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Message, Popup, Segment, Table } from 'semantic-ui-react'; import { Container, Form, Header, Image, Message, Segment } from 'semantic-ui-react';
import { statusColor, BasicTable, staticUrl, requester, isAdmin } from './utils.js'; import { requester } from './utils.js';
export function AuthForm(props) { export function AuthForm(props) {
const { user } = props; const { user } = props;

View File

@ -1,10 +1,8 @@
import React, { useState, useEffect } from 'react'; import React, { useState } from 'react';
import { BrowserRouter as Router, Switch, Route, Link, useParams } from 'react-router-dom';
import './light.css'; import './light.css';
import moment from 'moment-timezone'; import moment from 'moment-timezone';
import { Button, Container, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Message, Segment, Table } from 'semantic-ui-react'; import { Button, Container, Header, Table } from 'semantic-ui-react';
import { BasicTable, requester, staticUrl } from './utils.js'; import { BasicTable, staticUrl } from './utils.js';
import { NotFound, PleaseLogin } from './Misc.js';
export function Cards(props) { export function Cards(props) {
const { user, token } = props; const { user, token } = props;

View File

@ -1,10 +1,7 @@
import React, { useState, useEffect } from 'react'; import React, { useState } from 'react';
import { BrowserRouter as Router, Switch, Route, Link, useParams, useHistory } from 'react-router-dom'; import { Link } from 'react-router-dom';
import './light.css'; import './light.css';
import { Button, Container, Checkbox, Dimmer, Divider, Dropdown, Form, Grid, Header, Icon, Image, Input, Menu, Message, Segment, Table } from 'semantic-ui-react'; import { Container, Grid, Header, Input } from 'semantic-ui-react';
import moment from 'moment';
import { apiUrl, statusColor, BasicTable, staticUrl, requester } from './utils.js';
import { NotFound } from './Misc.js';
import { PayPalPayNow, PayPalSubscribe } from './PayPal.js'; import { PayPalPayNow, PayPalSubscribe } from './PayPal.js';
export function Paymaster(props) { export function Paymaster(props) {

View File

@ -1,8 +1,6 @@
import React, { useState, useEffect, useReducer, useContext } from 'react'; import React, { useState } from 'react';
import { BrowserRouter as Router, Switch, Route, Link, useParams, useHistory } from 'react-router-dom'; import { Container, Form, Header } from 'semantic-ui-react';
import { Button, Container, Checkbox, Dimmer, Divider, Dropdown, Form, Grid, Header, Icon, Image, Menu, Message, Segment, Table } from 'semantic-ui-react'; import { requester } from './utils.js';
import { apiUrl, statusColor, BasicTable, staticUrl, requester } from './utils.js';
import { NotFound } from './Misc.js';
export function SignForm(props) { export function SignForm(props) {
const { token } = props; const { token } = props;