Skip to content

Commit 7d27db0

Browse files
minor changes
1 parent ba8f6db commit 7d27db0

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

firebase.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"firebase.json",
66
"**/.*",
77
"**/node_modules/**"
8-
]
8+
],
9+
"rewrites": [
10+
{
11+
"source": "**",
12+
"destination": "/index.html"
13+
}
14+
]
915
}
1016
}

src/components/ShowProjects/Showprojects.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ function Showprojects()
173173
<ToastContainer />
174174
<div className="mt">
175175
<SearchBox fetchProjects={fetchProjects} />
176+
177+
{isLoading ? (
178+
<div className="loading_indicator">
179+
<Bars stroke={"#6f6ee1"} fill="#6f6ee1" width="60" height="90" />
180+
<p> Fetching {query} projects </p>
181+
</div>
182+
) : null}
183+
176184
<div className=" default_options filtre-div">
177185
<label className="container">
178186
Beginner Level
@@ -305,12 +313,7 @@ function Showprojects()
305313
<h2 className="query"> Enter query to search for projects. </h2>
306314
)}
307315

308-
{isLoading ? (
309-
<div className="loading_indicator">
310-
<Bars stroke={"#6f6ee1"} fill="#6f6ee1" width="60" height="90" />
311-
<p> Fetching {query} projects </p>
312-
</div>
313-
) : null}
316+
314317

315318
<div className="projectsList">
316319
{projects &&

0 commit comments

Comments
 (0)