@@ -158,6 +158,7 @@ export default function Residents() {
158 const point = need.point(pointCursor);
158 const point = need.point(pointCursor);
159 const { getResidents, syncResidents } = usePointCache();
159 const { getResidents, syncResidents } = usePointCache();
161+ const goBack = useCallback(() => pop(), [pop]);
161 useEffect(() => {
162 useEffect(() => {
162 syncResidents(point);
163 syncResidents(point);
163 }, [syncResidents, point]);
164 }, [syncResidents, point]);
@@ -202,7 +203,9 @@ export default function Residents() {
203 <View pop={pop} inset>
204 <View pop={pop} inset>
204 <NavHeader>
205 <NavHeader>
205− <Crumbs routes={[{ text: name, action: pop }, { text: 'Residents' }]} />
207+ routes={[{ text: name, action: goBack }, { text: 'Residents' }]}
206 </NavHeader>
209 </NavHeader>
208 <Grid.Item full as={H4} className="mt4">
211 <Grid.Item full as={H4} className="mt4">