Fixed == instead of ===
This commit is contained in:
1 parent
7de5fcbc50
commit
037610c811
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ function App() {
|
||||
}
|
||||
|
||||
let performSearch = (searchTerm: string): IProject[] => {
|
||||
if (searchTerm == ""){
|
||||
if (searchTerm === ""){
|
||||
console.log("Nothing was searched")
|
||||
return projects;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user