Skip to content

Commit

Permalink
Merge pull request #1457 from ecency/bugfix/submit-error
Browse files Browse the repository at this point in the history
Submit: fixed same content posting
  • Loading branch information
feruzm authored Aug 30, 2023
2 parents e7b9a72 + c497b8c commit 72cf63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/pages/submit/api/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function usePublishApi(history: History, onClear: () => void) {
c = await bridgeApi.getPostHeader(author, permlink);
} catch (e) {}

if (c && c.author && !isThreespeak && speakPermlink === "") {
if (c && c.author) {
// create permlink with random suffix
permlink = createPermlink(title, true);
}
Expand Down

0 comments on commit 72cf63b

Please sign in to comment.