New source found from dndbeyond.com
This commit is contained in:
+6
-3
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import { connect, DispatchProp } from "react-redux";
|
||||
import { AnyAction } from "redux";
|
||||
|
||||
import {
|
||||
characterActions,
|
||||
@@ -19,7 +20,9 @@ import {
|
||||
import { SimpleClassSpellList } from "../../../components/SimpleClassSpellList";
|
||||
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: PaneIdentifiersPreferenceOptionalClassFeaturesConfirm | null;
|
||||
classSpellListSpellsLookup: ClassSpellListSpellsLookup;
|
||||
paneHistoryStart: PaneInfo["paneHistoryStart"];
|
||||
@@ -81,7 +84,7 @@ class PreferencesOptionalClassFeaturesConfirmPane extends React.PureComponent<
|
||||
const { classSpellListSpellsLookup } = this.props;
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<Header>
|
||||
{newIsEnabled ? "Enable" : "Disable"} Optional Class Features
|
||||
</Header>
|
||||
@@ -99,7 +102,7 @@ class PreferencesOptionalClassFeaturesConfirmPane extends React.PureComponent<
|
||||
classSpellListSpellsLookup={classSpellListSpellsLookup}
|
||||
/>
|
||||
</div>
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user