on master help sign in
add conditional point subtext
192a033James Acklin
src/views/Ops/Ops.tsx+6−2
@@ -70,7 +70,10 @@ export const Ops = () => {
70 <Row className="between-row management">
70 <Row className="between-row management">
71 <Box>
71 <Box>
72 <Box className="section-title">Residents</Box>
72 <Box className="section-title">Residents</Box>
73− <Box className="subtitle">Planets that you route packets for</Box>
73+ <Box className="subtitle">
74+ {isGalaxy(_point) ? 'Stars' : 'Planets'} that you route packets
75+ for
76+ </Box>
74 </Box>
77 </Box>
75 <Button className="secondary" onClick={goResidents}>
78 <Button className="secondary" onClick={goResidents}>
76 View
79 View
@@ -80,7 +83,8 @@ export const Ops = () => {
80 <Box>
83 <Box>
81 <Box className="section-title">Requests</Box>
84 <Box className="section-title">Requests</Box>
82 <Box className="subtitle">
85 <Box className="subtitle">
83− Planets requesting your sponsorship
86+ {isGalaxy(_point) ? 'Stars' : 'Planets'} requesting your
87+ sponsorship
84 </Box>
88 </Box>
85 </Box>
89 </Box>
86 <Button className="secondary" onClick={goRequests}>
90 <Button className="secondary" onClick={goRequests}>