Skip to content

Commit

Permalink
Fix: failing tests and remove all unreferenced files
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSiby committed Oct 11, 2023
1 parent 0ed87e5 commit a06b8f3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
7 changes: 7 additions & 0 deletions src/assets/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
.main-content {
margin-top: 3.5rem;
height: calc(100vh - 3.5rem);

.loadingSpinner {
display: flex;
justify-content: center;
align-items: center;
height: calc(75vh - 2.5rem);
}
}
4 changes: 1 addition & 3 deletions src/components/BookForm/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React from 'react'

const BookForm = () => {
return (
<form className="d-flex mt-3">
Expand All @@ -22,7 +20,7 @@ const BookForm = () => {
</div>
<div className="form-group my-2">
<select className="form-select" id="inlineFormSelectPref" name="book">
<option value="" disabled selected hidden>
<option value="" defaultValue="">
Select Category
</option>
<option value="1">Sci-fi</option>
Expand Down
Empty file.
3 changes: 1 addition & 2 deletions src/components/LoadingSpinner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CSSProperties, FC } from 'react'
import { RingLoader } from 'react-spinners'
import './styles.scss'

const override: CSSProperties = {
display: 'block',
Expand All @@ -10,7 +9,7 @@ const override: CSSProperties = {

const LoadingSpinner: FC = () => {
return (
<div className="loading-spinner">
<div className="loadingSpinner">
<RingLoader color="#36d7b7" cssOverride={override} />
</div>
)
Expand Down
6 changes: 0 additions & 6 deletions src/components/LoadingSpinner/styles.scss

This file was deleted.

0 comments on commit a06b8f3

Please sign in to comment.