feat(ui): always display Recreate Layout button to allow map terrain regeneration
This commit is contained in:
parent
b70789c306
commit
5dd6c84352
|
|
@ -118,14 +118,13 @@ export const Header: React.FC<HeaderProps> = ({
|
||||||
API Docs ↗
|
API Docs ↗
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{playerCount > 0 && (
|
|
||||||
<button
|
<button
|
||||||
onClick={onResetBoard}
|
onClick={onResetBoard}
|
||||||
className="text-xs font-medium text-slate-400 hover:text-red-400 transition-colors px-3 py-1.5 rounded-lg border border-slate-800 hover:border-red-900/60 bg-slate-950/40"
|
className="text-xs font-medium text-slate-400 hover:text-red-400 transition-colors px-3 py-1.5 rounded-lg border border-slate-800 hover:border-red-900/60 bg-slate-950/40"
|
||||||
|
title="Regenerate map terrain and clear all players"
|
||||||
>
|
>
|
||||||
Clear Board
|
Recreate Layout
|
||||||
</button>
|
</button>
|
||||||
)}
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={onQuickSpawn}
|
onClick={onQuickSpawn}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue