Skip to content

Commit f87f6f3

Browse files
authored
Merge pull request #147 from killerdroid99/main
Feature: Show 'Roommate' instead of 'Spouse' if current spouse is 'Krobus'
2 parents 69133cf + f3d3823 commit f87f6f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/top-bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function Topbar() {
6060

6161
const [isDevelopment, setIsDevelopment] = useState(false);
6262

63-
const { activePlayer, uploadPlayers } = useContext(PlayersContext);
63+
const { activePlayer } = useContext(PlayersContext);
6464

6565
useEffect(() => {
6666
setIsDevelopment(parseInt(process.env.NEXT_PUBLIC_DEVELOPMENT!) === 1);

src/pages/relationships.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default function Relationships() {
205205
Icon={HomeIcon}
206206
/>
207207
<InfoCard
208-
title="Spouse"
208+
title={activePlayer?.social?.spouse === "Krobus" ? 'Roommate': 'Spouse'}
209209
description={activePlayer?.social?.spouse ?? "No Info"}
210210
Icon={UsersIcon}
211211
/>

0 commit comments

Comments
 (0)