New source found from dndbeyond.com

This commit is contained in:
2026-07-08 01:00:09 -07:00
parent 9a983a6d7b
commit dcefa0d2f2
2865 changed files with 222467 additions and 49053 deletions
@@ -1,5 +1,6 @@
import React from "react";
import { connect, DispatchProp } from "react-redux";
import { AnyAction } from "redux";
import {
Background,
@@ -21,7 +22,9 @@ import SuggestionTable from "../../../components/SuggestionTable";
import { ThemeButton } from "../../../components/common/Button";
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> {
identifiers: PaneIdentifiersTrait;
background: Background | null;
traits: CharacterTraits;
@@ -255,14 +258,14 @@ class TraitPane extends React.PureComponent<Props, State> {
if (hasBeenEdited) {
if (isSaveDirty) {
calloutNode = (
<React.Fragment>
<>
<div className="ct-trait-pane__status ct-trait-pane__status--dirty">
<div className="ct-trait-pane__status-text">Unsaved changes</div>
</div>
<ThemeButton size="small" onClick={this.handleSave}>
Save
</ThemeButton>
</React.Fragment>
</>
);
} else {
calloutNode = (