spinner position

This commit is contained in:
nora 2021-11-01 08:34:33 +01:00
parent 091c63b7b8
commit 8ba2cefdd6

View file

@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from "react"; import React, { useEffect, useRef, useState } from "react";
import { Button, Card, Container, Form, FormControl, FormGroup, FormLabel, Row, Spinner } from "react-bootstrap"; import { Button, Card, Col, Container, Form, FormControl, FormGroup, FormLabel, Row, Spinner } from "react-bootstrap";
import client from "./ApiClient"; import client from "./ApiClient";
import { Band, Option } from "./Types"; import { Band, Option } from "./Types";
import ModalBand from "./ModalBand"; import ModalBand from "./ModalBand";
@ -53,7 +53,9 @@ function App() {
</Card> </Card>
)) ))
) : bandQuery ? ( ) : bandQuery ? (
<Col>
<Spinner animation="border" /> <Spinner animation="border" />
</Col>
) : ( ) : (
<></> <></>
)} )}