mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 08:43:04 +00:00
fix: message manager colors + links rerender when switching category
This commit is contained in:
@@ -6,6 +6,7 @@ import LinkItem from "./LinkItem";
|
||||
import styles from "./links.module.scss";
|
||||
|
||||
export default function Links({ category }: { category: Category }) {
|
||||
console.log("render", category);
|
||||
if (category === null) {
|
||||
return (
|
||||
<div className={styles["no-category"]}>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
color: $dark-blue;
|
||||
background-color: $light-blue;
|
||||
background-color: $lightest-blue;
|
||||
padding: 10px;
|
||||
border-radius: 3px;
|
||||
animation: fadein 250ms both;
|
||||
|
||||
Reference in New Issue
Block a user