Skip to content

Commit

Permalink
refactor: remove renderAccountHandle usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-ext committed Dec 9, 2023
1 parent 01a480f commit d7e7b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/desktop/components/settings/AddPaneDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type Component, For, Match, Show, Switch, createSignal } from 'solid-js';

import type { DID } from '~/api/atp-schema.ts';
import { getAccountHandle, multiagent, renderAccountHandle } from '~/api/globals/agent.ts';
import { getAccountHandle, multiagent } from '~/api/globals/agent.ts';
import { getCurrentTid } from '~/api/utils/tid.ts';

import { FILTER_ALL } from '~/api/queries/get-notifications.ts';
Expand Down Expand Up @@ -144,7 +144,7 @@ const AddPaneDialog = (props: AddPaneDialogProps) => {
class={/* @once */ Select()}
>
<For each={multiagent.accounts}>
{(account) => <option value={account.did}>@{renderAccountHandle(account)}</option>}
{(account) => <option value={account.did}>{'@' + account.session.handle}</option>}
</For>
</select>
</div>
Expand Down

0 comments on commit d7e7b18

Please sign in to comment.