Fix incompatibilities with new deps

This commit is contained in:
Thor77 2022-06-25 16:46:59 +02:00
parent 9774c1448c
commit 2c9f805be0
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
4 changed files with 6 additions and 12 deletions

View File

@ -1,15 +1,12 @@
import Head from 'next/head'; import Head from 'next/head';
import React from 'react'; import React from 'react';
import {ErrorPageComponent} from '../js/components/ErrorComponents'; import {ErrorPageComponent} from '../js/components/ErrorComponents';
import 'bootstrap/dist/css/bootstrap.min.css';
import '../static/css/everypage.css';
import '../static/css/tournament-fullscreen.css';
import {getTournamentMatches, getTournamentMeta} from '../js/redux/tournamentApi'; import {getTournamentMatches, getTournamentMeta} from '../js/redux/tournamentApi';
import { import {
Col, Container, DropdownItem, DropdownMenu, DropdownToggle, Navbar, NavbarBrand, NavItem, Row, UncontrolledDropdown Col, Container, DropdownItem, DropdownMenu, DropdownToggle, Navbar, NavbarBrand, NavItem, Row, UncontrolledDropdown,
Spinner
} from 'reactstrap'; } from 'reactstrap';
import {Match} from '../js/components/Match'; import {Match} from '../js/components/Match';
import {Spinner} from 'react-bootstrap';
function FullscreenPage(props) { function FullscreenPage(props) {
@ -153,7 +150,7 @@ class Main extends React.Component {
<title>Vollbild-Ansicht: turnie.re</title> <title>Vollbild-Ansicht: turnie.re</title>
</Head> </Head>
<Container className='p-5 text-center text-secondary'> <Container className='p-5 text-center text-secondary'>
<Spinner animation='border' role='status' size='sm'/> <Spinner size='sm'/>
<span className='ml-3'>lade Vollbild-Ansicht</span> <span className='ml-3'>lade Vollbild-Ansicht</span>
</Container> </Container>
</div>); </div>);

View File

@ -1,7 +1,7 @@
import Head from 'next/head'; import Head from 'next/head';
import React from 'react'; import React from 'react';
import {connect} from 'react-redux'; import {connect} from 'react-redux';
import {ButtonGroup, Col, Container, Row, NavbarBrand} from 'reactstrap'; import {ButtonGroup, Col, Container, Row} from 'reactstrap';
import {TurniereNavigation} from '../js/components/Navigation'; import {TurniereNavigation} from '../js/components/Navigation';
import {StandingsTable} from '../js/components/StandingsTable'; import {StandingsTable} from '../js/components/StandingsTable';

View File

@ -53,9 +53,9 @@ function StatisticsButton(props) {
} }
function FullscreenButton(props) { function FullscreenButton(props) {
return (<TournamentStatusBarButton href={'/t/' + props.tournamentId + '/fullscreen'}> return (<LinkButton href={'/t/' + props.tournamentId + '/fullscreen'}>
Vollbild-Ansicht Vollbild-Ansicht
</TournamentStatusBarButton>); </LinkButton>);
} }

View File

@ -1,3 +0,0 @@
nav li {
list-style-type: none;
}