Skip to content

Commit

Permalink
Merge pull request #1865 from ResearchHub/edit-hub-desc-limit
Browse files Browse the repository at this point in the history
fix: Copy and paste to hub description does not work
  • Loading branch information
gzurowski authored Oct 22, 2024
2 parents 766a70f + 77fe476 commit 6b228f9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion components/Hubs/HubCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { truncateText } from "~/config/utils/string";
import { formatNumber } from "~/config/utils/number";
import { faCheckCircle, faPenToSquare } from "@fortawesome/pro-light-svg-icons";
import { useState } from "react";
import EditHubModal from "../Modals/EditHubModal";
import { ModalActions } from "~/redux/modals";
import { connect } from "react-redux";

Expand Down
2 changes: 1 addition & 1 deletion components/Hubs/HubSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import HubCard from "~/components/Hubs/HubCard";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faAngleDown, faSearch } from "@fortawesome/pro-light-svg-icons";
import Menu, { MenuOption } from "~/components/shared/GenericMenu";
import { use, useEffect, useRef, useState } from "react";
import { useEffect, useRef, useState } from "react";
import { fetchHubSuggestions } from "~/components/SearchSuggestion/lib/api";
import debounce from "lodash/debounce";
import useWindow from "~/config/hooks/useWindow";
Expand Down
2 changes: 1 addition & 1 deletion components/Modals/EditHubModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EditHubModal extends Component {
this.state = {
...this.initialState,
};
this.descriptionLimit = 150;
this.descriptionLimit = 500;
this.nameLimit = 50;
}

Expand Down

0 comments on commit 6b228f9

Please sign in to comment.