Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix error handling and improve copies #45

Merged
merged 3 commits into from
Jan 28, 2022
Merged

fix: Fix error handling and improve copies #45

merged 3 commits into from
Jan 28, 2022

Conversation

skarahoda
Copy link

  • Fix getting a project id from an app url.
  • Fix showing a more accurate message when there is no link/connected component associated with the selected story
  • Change the copy of the form for personal access tokens to emphasize that the token is stored locally.

@skarahoda skarahoda self-assigned this Jan 27, 2022
} else if(Array.isArray(zeplinLink) || typeof zeplinLink !== "string") {
const formattedValue = JSON.stringify(zeplinLink, null, 2);
setState({ links: [], error: `Zeplin link is malformed. Received: ${formattedValue}`, loading: false });
}else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space

src/components/hooks/useLinks.ts Show resolved Hide resolved
@skarahoda skarahoda requested a review from yuqu January 28, 2022 20:17
@skarahoda skarahoda merged commit 6eca004 into master Jan 28, 2022
@skarahoda skarahoda deleted the fix/copy branch January 28, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants