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

ui/SlackChannelLink: convert to typescript #2854

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

NickHackman
Copy link
Contributor

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
Part of an ongoing effort to convert existing javascript files to typescript.

Which issue(s) this PR fixes:
#2318

Comment on lines +6 to +13
const query = gql`
query ($id: ID!) {
slackChannel(id: $id) {
id
teamID
}
`
}
`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pulled the graphql query top level to avoid recreating on each render.

@NickHackman NickHackman marked this pull request as ready for review March 10, 2023 17:37
@KatieMSB KatieMSB merged commit 8715e66 into target:master Mar 10, 2023
@NickHackman NickHackman deleted the ui-SlackChannelLink-to-tsx branch March 10, 2023 20:02
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.

3 participants