impr: use svelte/reactivity classes for URL, Map, Set
This commit is contained in:
8 files changed
+21
-38
No files matched your search
@@ -45,6 +45,7 @@ import {
|
||||
ViewColumns,
|
||||
type IconSource,
|
||||
} from 'svelte-hero-icons'
|
||||
import { SvelteURL } from 'svelte/reactivity'
|
||||
|
||||
export interface Group {
|
||||
name: string
|
||||
@@ -411,7 +412,7 @@ export function getGroups(
|
||||
f.community.name,
|
||||
f.community.actor_id,
|
||||
)}`,
|
||||
detail: new URL(f.community.actor_id).hostname,
|
||||
detail: new SvelteURL(f.community.actor_id).hostname,
|
||||
})) ?? [],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user