Skip to content

Commit

Permalink
update description replace
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJ202 committed Jun 6, 2024
1 parent 4839520 commit f76b2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Upload/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default function Upload() {

if (processSrc) {
processSrc = processSrc.replaceAll('<NAME>', uploadReducer.data.title);
processSrc = processSrc.replaceAll('<DESCRIPTION>', uploadReducer.data.description);
processSrc = processSrc.replaceAll('<DESCRIPTION>', `[[ ${uploadReducer.data.description} ]]`);
processSrc = processSrc.replaceAll('<CREATOR>', arProvider.profile.id);
processSrc = processSrc.replaceAll('<BANNER>', bannerTx ? bannerTx : DEFAULT_UCM_BANNER);
processSrc = processSrc.replaceAll('<THUMBNAIL>', thumbnailTx ? thumbnailTx : DEFAULT_UCM_THUMBNAIL);
Expand Down

0 comments on commit f76b2d4

Please sign in to comment.