Added error message component. Update fetch hook.
This commit is contained in:
13
components/common/ErrorMessage.module.css
Normal file
13
components/common/ErrorMessage.module.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.error {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin: auto;
|
||||
display: flex;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user