New source found from dndbeyond.com
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import { connect, DispatchProp } from "react-redux";
|
||||
import { AnyAction } from "redux";
|
||||
|
||||
import {
|
||||
Collapsible,
|
||||
@@ -32,7 +33,9 @@ import { RemoveButton } from "../../../components/common/Button";
|
||||
import { appEnvSelectors } from "../../../selectors";
|
||||
import { SharedAppState } from "../../../stores/typings";
|
||||
|
||||
interface Props extends DispatchProp {
|
||||
// TODO: We are typing with AnyAction here to work around issues with UnknownAction, the type that was introduced in Redux 5.
|
||||
// If we decide to modernize to Redux 5, we will need to refactor much of the Rules Engine redux usage.
|
||||
interface Props extends DispatchProp<AnyAction> {
|
||||
customSkills: Array<Skill>;
|
||||
ruleData: RuleData;
|
||||
identifiers: PaneIdentifiersCustomSkill | null;
|
||||
@@ -198,8 +201,6 @@ class CustomSkillPane extends React.PureComponent<Props, State> {
|
||||
const proficiencyLevel = SkillUtils.getProficiencyLevel(skill);
|
||||
const name = SkillUtils.getName(skill);
|
||||
|
||||
const infoItemProps = { role: "listitem", inline: true };
|
||||
|
||||
return (
|
||||
<div className="ct-custom-skill-pane" key={skill.id}>
|
||||
<Header parent="Skills" onClick={this.handleSkillsManageShow}>
|
||||
@@ -222,9 +223,7 @@ class CustomSkillPane extends React.PureComponent<Props, State> {
|
||||
{this.renderCustomize()}
|
||||
{notes && (
|
||||
<div className="ct-custom-skill-pane__properties" role="list">
|
||||
<InfoItem label="Notes" {...infoItemProps}>
|
||||
{notes}
|
||||
</InfoItem>
|
||||
<InfoItem label="Notes">{notes}</InfoItem>
|
||||
</div>
|
||||
)}
|
||||
{description && (
|
||||
|
||||
Reference in New Issue
Block a user