mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-20 06:28:19 +02:00
11 lines
350 B
TypeScript
11 lines
350 B
TypeScript
import { useConfigList } from "@/hooks/use-config-list";
|
|
import type { ProfileStatus } from "@/types";
|
|
|
|
/** Every profile status, in order, kept current by `profile-statuses-changed`. */
|
|
export function useProfileStatuses(): ProfileStatus[] {
|
|
return useConfigList<ProfileStatus>(
|
|
"list_profile_statuses",
|
|
"profile-statuses-changed",
|
|
);
|
|
}
|