@@ -38,7 +38,7 @@ import {
3838import { EnabledStatus } from "~/components/runs/v3/EnabledStatus" ;
3939import { $transaction , prisma } from "~/db.server" ;
4040import { requireOrganization } from "~/services/org.server" ;
41- import { OrganizationParamsSchema , organizationSettingsPath } from "~/utils/pathBuilder" ;
41+ import { OrganizationParamsSchema , organizationSlackIntegrationPath } from "~/utils/pathBuilder" ;
4242import { logger } from "~/services/logger.server" ;
4343
4444export const loader = async ( { request, params } : LoaderFunctionArgs ) => {
@@ -178,7 +178,7 @@ export const action = async ({ request, params }: ActionFunctionArgs) => {
178178 integrationId : slackIntegration . id ,
179179 } ) ;
180180
181- return redirect ( organizationSettingsPath ( { slug : organizationSlug } ) ) ;
181+ return redirect ( organizationSlackIntegrationPath ( { slug : organizationSlug } ) ) ;
182182} ;
183183
184184export default function SlackIntegrationPage ( ) {
@@ -239,12 +239,10 @@ export default function SlackIntegrationPage() {
239239 </ div >
240240
241241 < div >
242- < div className = "mb-3 border-b border-grid-dimmed pb-3" >
243- < Header3 >
244- Connected alert channels
245- < span className = "ml-1 text-text-dimmed" > ({ alertChannels . length } )</ span >
246- </ Header3 >
247- </ div >
242+ < Header3 spacing >
243+ Connected alert channels
244+ < span className = "ml-1 text-text-dimmed" > ({ alertChannels . length } )</ span >
245+ </ Header3 >
248246 { alertChannels . length === 0 ? (
249247 < Paragraph variant = "small" className = "text-text-dimmed" >
250248 No alert channels are currently connected to this Slack integration.
0 commit comments