-
+
魚之魷魂
-
+
@@ -18,12 +20,12 @@ function Action(props: { label: string; link: string; isSelected: boolean }) {
);
}
diff --git a/frontend/src/lib/home/framework/ui/SelfTags.tsx b/frontend/src/lib/home/framework/ui/SelfTags.tsx
index 00d2f3a..27aad53 100644
--- a/frontend/src/lib/home/framework/ui/SelfTags.tsx
+++ b/frontend/src/lib/home/framework/ui/SelfTags.tsx
@@ -9,12 +9,12 @@ import { tagStartedAction, tagStoppedAction } from "../../presenter/tagSlice";
export default function SelfTags() {
return (
- <_SelfTags />
+
);
}
-function _SelfTags() {
+function SelfTagsProvided() {
const tags = useTagSelector((state) => state.tag.tags);
const dispatch = useTagDispatch();
@@ -26,7 +26,7 @@ function _SelfTags() {
dispatch(tagStoppedAction());
setIsTagsVisible(false);
};
- }, []);
+ }, [dispatch]);
useEffect(() => {
if (tags.length === 0) return;