-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first part of refactoring dashboard to start working by customhook.
- Loading branch information
1 parent
5ed3236
commit 1c3d06f
Showing
9 changed files
with
155 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const Error = ({ errorMessage }) => { | ||
return ( | ||
<tr> | ||
<td colSpan="10" className="text-center p-5 text-3xl"> | ||
{errorMessage} | ||
</td> | ||
</tr> | ||
); | ||
}; | ||
|
||
export default Error; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import LoadingSpinner from "../../userProfile/shard/LoadingSpinner"; | ||
const LoadingWhile = () => { | ||
return ( | ||
<tr> | ||
<td colSpan="10" className="text-center p-5 text-3xl"> | ||
<LoadingSpinner /> | ||
</td> | ||
</tr> | ||
); | ||
}; | ||
|
||
export default LoadingWhile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
|
||
const NotFoundData = ({message}) => { | ||
return ( | ||
<tr> | ||
<td colSpan="10" className="text-center p-5 text-3xl"> | ||
{message} | ||
</td> | ||
</tr> | ||
); | ||
}; | ||
|
||
export default NotFoundData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.