Skip to content

Commit

Permalink
PR feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Oct 12, 2023
1 parent ae2aae0 commit 003544c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/components/StatusLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ErrorMessage = ( { errorMessage } ) => {
'https://developer.twitter.com/en/docs/twitter-api/migrate/ready-to-migrate'
}
>
{ __( 'Learn more here.' ) }
{ __( 'Learn more here.', 'autoshare-for-twitter' ) }
</ExternalLink>
) }
</span>
Expand Down
1 change: 1 addition & 0 deletions src/js/components/TweetTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export function TweetTextField() {

setTweetText( '' );
setIsPublished( true );
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ status, isPublished ] );

const CounterTooltip = () => (
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/TwitterAccounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function TwitterAccounts() {
) ) }
<span className="connect-account-link">
<ExternalLink href={ connectAccountUrl }>
{ __( 'Connect an account' ) }
{ __( 'Connect an account', 'autoshare-for-twitter' ) }
</ExternalLink>
</span>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/js/hooks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export function useSaveTwitterData() {
}
}

// eslint-disable-next-line react-hooks/exhaustive-deps
const saveDataDebounced = useCallback( debounce( saveData, 250 ), [] );

useEffect( () => {
Expand Down

0 comments on commit 003544c

Please sign in to comment.