docs(ui): trim the Slack install-guard comment

This commit is contained in:
Pablo F.G
2026-08-18 17:43:39 +02:00
parent 6adbb75ca9
commit c3420151b5
+3 -3
View File
@@ -103,9 +103,9 @@ const INTEGRATIONS_RESOURCE_TYPE = "integrations";
/**
* The callback names the workspace and redirects on this value alone, so a `2xx`
* payload that is not a JSON:API resource (`{}`, `[]`, `"invalid"`) must read as
* unreadable rather than as a connected workspace. Identity is part of that: an
* id the page cannot link to, another resource type, or another integration
* kind would each be shown as the Slack workspace just installed.
* unreadable rather than as a connected workspace. Identity too: a resource
* that is not a linkable Slack integration would be shown as the workspace
* just installed.
*/
const isIntegrationResource = (value: unknown): boolean => {
if (typeof value !== "object" || value === null || Array.isArray(value)) {