Skip to content

Commit

Permalink
Merge pull request #3 from IntersectMBO/update-pdf-ui-version
Browse files Browse the repository at this point in the history
feat: Update pdf-ui version
  • Loading branch information
vpaunovic authored Sep 17, 2024
2 parents d37285d + 77e44f3 commit 0edd5f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pdf-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@intersect.mbo/pdf-ui",
"version": "0.3.9",
"version": "0.4.0",
"description": "Proposal discussion ui",
"main": "./src/index.js",
"exports": {
Expand Down Expand Up @@ -67,4 +67,4 @@
"jsxSingleQuote": true,
"bracketSpacing": true
}
}
}
2 changes: 1 addition & 1 deletion pdf-ui/src/components/CommentCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const CommentCard = ({ comment, proposal }) => {
useAppContext();
const theme = useTheme();
const maxLength = 128;
const subcommentMaxLength = 256;
const subcommentMaxLength = 2500;
const sliceString = (str) => {
if (!str) return '';
if (str.length > maxLength) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import ReactMarkdown from 'react-markdown';
import { loginUserToApp } from '../../../lib/helpers';

const SingleGovernanceAction = ({ id }) => {
const MAX_COMMENT_LENGTH = 256;
const MAX_COMMENT_LENGTH = 2500;
const navigate = useNavigate();
const openLink = (link) => openInNewTab(link);

Expand Down

0 comments on commit 0edd5f5

Please sign in to comment.