Run prettier on all code

This commit is contained in:
Przemek Więch
2026-04-28 23:25:40 +02:00
parent da452e8b37
commit 0443741537
3 changed files with 22 additions and 22 deletions

View File

@@ -221,12 +221,15 @@ async function getAllDescendants(key: string, handleCors: boolean) {
/**
* Loads data from the WikiTree API for a given person key.
*
*
* @param key The WikiTree profile ID to load.
* @param authcode Optional authentication code.
* @returns A unique list of WikiTree `Person` records.
*/
export async function loadData(key: string, authcode?: string): Promise<Person[]> {
export async function loadData(
key: string,
authcode?: string,
): Promise<Person[]> {
// Work around CORS if not in apps.wikitree.com domain.
const handleCors = window.location.hostname !== 'apps.wikitree.com';