feat: add error boundary

makes crashes graceful
This commit is contained in:
zyachel
2023-01-22 21:14:46 +05:30
parent 71d1d5b34e
commit 5cc2ef02ce
7 changed files with 104 additions and 28 deletions

View File

@ -7,6 +7,7 @@ body {
color: var(--clr-text-accent);
font-family: var(--ff-accent);
font-weight: var(--fw-medium);
line-height: 1.2;
&__primary {
font-size: var(--fs-1);

View File

@ -28,6 +28,16 @@
}
.heading {
// justify-self: center;
text-align: center;
}
.button {
align-self: end;
font: inherit;
cursor: pointer;
border: none;
background: transparent;
color: var(--clr-link);
border-bottom: 2px solid var(--clr-link);
}