Skip to content

Conversation

@evanpurkhiser
Copy link
Member

This can just be useOrganization().slug

This can just be `useOrganization().slug`
return organization;
}

export function useOrgSlug() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Nice to keep a single hook per file

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2021

size-limit report

Path Base Size (89e171a) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.76 KB 52.77 KB +0.03% 🔺
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.89 KB 70.89 KB 0%

Copy link
Member

@k-fish k-fish left a comment

Choose a reason for hiding this comment

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

np np

@evanpurkhiser evanpurkhiser merged commit e795191 into master Nov 4, 2021
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-js-remove-useorgslug branch November 4, 2021 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants