Skip to content

Commit

Permalink
🚸 [twitter] タグ間の空白が2重になりやすかったのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ci7lus committed Jan 12, 2022
1 parent 6523aff commit 0c1eded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/miraktest-twitter/components/Tweet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const TweetComponent: React.FC<{
)}
key={tag}
onClick={() => {
setHashtag((prev) => `${prev} ${tag}`.trim())
setHashtag((prev) => `${prev.trim()} ${tag}`.trim())
}}
disabled={(hashtag + " ").includes(tag + " ")}
>
Expand Down
2 changes: 1 addition & 1 deletion src/miraktest-twitter/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const TWITTER_META = {
id: TWITTER_PLUGIN_ID,
name: "Twitter",
author: "ci7lus",
version: "0.0.1",
version: "0.0.2",
description: "視聴中の番組に関連するツイートを投稿する",
}
export const TWITTER_TWEET_WINDOW_ID = `${TWITTER_PLUGIN_ID}.tweet`

0 comments on commit 0c1eded

Please sign in to comment.