Commit 0371cbbb authored by Joe Ziemba's avatar Joe Ziemba
Browse files

cleanup

parent 2f83f42d
......@@ -3,7 +3,6 @@ import React, { useContext } from "react"
import { Typeahead } from "react-bootstrap-typeahead"
import "react-bootstrap-typeahead/css/Typeahead.css"
export const PropertyForm = () => {
const { stats, updatePropertyList } = useContext(StatblockContext)
return (
......
......@@ -75,9 +75,7 @@ export class StatBlockDisplay extends React.Component {
<span className="statblock__property-name italic">
{action.title}.{" "}
</span>
<span className="italic">
{action.type} Weapon Attack.{" "}
</span>
<span className="italic">{action.type} Weapon Attack. </span>
{`${toHit >= 0 ? "+" : ""}${toHit}`} to Hit.&ensp;
{action.type === "Ranged" ? "Range" : "Reach"} {reach}
ft.&ensp;
......
import React, { useContext, useState } from "react"
import React, { useContext } from "react"
import { PF2CharacterContext } from "context"
import { SaveRow } from "./SaveRow"
import Statbox from "./Statbox"
......
import React, { useState, useEffect, useCallback } from "react"
import _ from "lodash"
import FEATS from "_data/feats/allFeats.json"
import FEATS from "data/feats/allFeats.json"
import { Modal } from "components"
export const FeatSelection = ({
......
......@@ -94,9 +94,7 @@ export const AttackForm = (props) => {
Dex?
</label>
<div
className={`dex-check ${
props.action.dex ? "checked" : ""
}`}
className={`dex-check ${props.action.dex ? "checked" : ""}`}
name={"dex-" + props.action.id}
value={!props.action.dex}
onClick={() =>
......
/* eslint-disable jest/expect-expect */
/* eslint-disable jest/no-done-callback */
import { Selector, fixture } from "testcafe"
import { Ancestries } from "../src/_data/ancestries"
import { Ancestries } from "../src/data/ancestries"
fixture("Assign Ancestries").page(
"http://localhost:3000/pf2/character-builder"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment