diff --git a/src/containers/lists/ListContainer.tsx b/src/containers/lists/ListContainer.tsx index d5f55f92..d9ec0b5f 100644 --- a/src/containers/lists/ListContainer.tsx +++ b/src/containers/lists/ListContainer.tsx @@ -11,7 +11,7 @@ interface Props { export default function ListContainer(props: Props) { const { uri } = props; - const [currenTab, setCurrentTab] = useState<"posts" | "members">("posts"); + const [currentTab, setCurrentTab] = useState<"posts" | "members">("posts"); const handleTabChange = (tab: "posts" | "members") => { setCurrentTab(tab); @@ -24,14 +24,14 @@ export default function ListContainer(props: Props) { role="tablist" aria-orientation="horizontal" className={`no-scrollbar border-skin-base flex flex-nowrap gap-3 overflow-auto border border-t-0 ${ - currenTab === "posts" ? "border-b" : "border-b-0" + currentTab === "posts" ? "border-b" : "border-b-0" } px-3 pt-3`} > - {currenTab === "posts" && } - {currenTab === "members" && } + {currentTab === "posts" && } + {currentTab === "members" && } ); }