This commit is contained in:
KS Jannette
2026-02-11 11:44:07 -05:00
parent 9cbd808d51
commit 0a2eaeb537
2 changed files with 1 additions and 32 deletions

View File

@@ -5,38 +5,7 @@
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}

View File

@@ -18,7 +18,7 @@ const fetchStickies = async () => {
if (isLoading) return <div>Loading...</div>;
if (error) return <div>Error: {error.message}</div>;
return <div>{data.map((sticky: any) => <div key={sticky.id}>{sticky.text}</div>)}</div>;
return <div>{data?.map((sticky: any) => <div key={sticky.id}>{sticky.text}</div>)}</div>;
};
export default Stickies;