diff --git a/template/client/src/routes/public/Clans.jsx b/template/client/src/routes/public/Clans.jsx index 0c098c5..5c514a0 100644 --- a/template/client/src/routes/public/Clans.jsx +++ b/template/client/src/routes/public/Clans.jsx @@ -23,8 +23,12 @@ export default function Clans() { {loading && } {error && } + {/* `EmptyState` renders its CHILDREN and takes no other prop. Pass the + sentence as `message=` and React drops it without a word: the panel + renders as an empty box. module-rust shipped six of those for four + phases, learned from this line when it said `message=`. */} {data && data.clans.length === 0 && ( - + No clans have been reported yet. )} {data && data.clans.length > 0 && (