Implement the 012-turn-navigation feature that adds a RetreatTurn domain operation and relocates turn controls to a navigation bar at the top of the encounter tracker
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,10 +4,9 @@ import { Input } from "./ui/input";
|
||||
|
||||
interface ActionBarProps {
|
||||
onAddCombatant: (name: string) => void;
|
||||
onAdvanceTurn: () => void;
|
||||
}
|
||||
|
||||
export function ActionBar({ onAddCombatant, onAdvanceTurn }: ActionBarProps) {
|
||||
export function ActionBar({ onAddCombatant }: ActionBarProps) {
|
||||
const [nameInput, setNameInput] = useState("");
|
||||
|
||||
const handleAdd = (e: FormEvent) => {
|
||||
@@ -31,9 +30,6 @@ export function ActionBar({ onAddCombatant, onAdvanceTurn }: ActionBarProps) {
|
||||
Add
|
||||
</Button>
|
||||
</form>
|
||||
<Button variant="outline" size="sm" onClick={onAdvanceTurn}>
|
||||
Next Turn
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user