Skip to content

Commit

Permalink
retrieve did from strong ref
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieusieben committed Nov 22, 2024
1 parent 828c000 commit 36c1004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/workspace/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { MOD_EVENTS } from '@/mod-event/constants'
import { useActionSubjects } from '@/mod-event/helpers/emitEvent'
import { useLabelerAgent, useServerConfig } from '@/shell/ConfigurationContext'
import {
AtUri,
ComAtprotoAdminDefs,
ComAtprotoModerationDefs,
ComAtprotoRepoStrongRef,
Expand Down Expand Up @@ -99,8 +100,7 @@ export function WorkspacePanel(props: PropsOf<typeof ActionPanel>) {
}

if (ComAtprotoRepoStrongRef.isMain(subject)) {
// Don't know
return undefined
return new AtUri(subject.uri).host
}
}

Expand Down

0 comments on commit 36c1004

Please sign in to comment.