Skip to content

Commit

Permalink
Merge pull request #2215 from wondrous-dev/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
andywong418 authored Feb 13, 2024
2 parents 8c1b211 + 5c5b94a commit 7d28524
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ const CampaignOverview = ({ questSettings, setQuestSettings }) => {
placeholder: "Describe the quest",
stateKey: "description",
multiline: true,
showMaxLength: true,
},
key: "description",
},
Expand Down
3 changes: 1 addition & 2 deletions wondrous-bot-admin/src/components/QuestTitle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type QuestTitleProps = {
multiline?: boolean;
maxLength?: number;
showMaxLength?: boolean;
stateKey?: string
stateKey?: string;
};

const QuestTitle = ({
Expand All @@ -27,7 +27,6 @@ const QuestTitle = ({
const { errors, setErrors } = useContext(CreateQuestContext);
const handleChange = (value) => {
if (!onChange) return null;
if (value.length > maxLength) return;
if (errors?.[stateKey]) {
setErrors({
...errors,
Expand Down

0 comments on commit 7d28524

Please sign in to comment.