chore: fix lint

This commit is contained in:
kawamataryo
2024-10-18 09:17:32 +09:00
parent 455a01dd14
commit 7e77fc76ff
5 changed files with 17 additions and 8 deletions

View File

@@ -74,4 +74,5 @@ export const MATCH_TYPE_LABEL_AND_COLOR = {
},
};
export const AUTH_FACTOR_TOKEN_REQUIRED_ERROR_MESSAGE = "AuthFactorTokenRequiredError";
export const AUTH_FACTOR_TOKEN_REQUIRED_ERROR_MESSAGE =
"AuthFactorTokenRequiredError";

View File

@@ -25,5 +25,10 @@ export const getAccountNameAndDisplayName = (userCell: Element) => {
const twAccountNameRemoveUnderscore = twAccountName.replaceAll("_", ""); // bsky does not allow underscores in handle, so remove them.
const twAccountNameReplaceUnderscore = twAccountName.replaceAll("_", "-");
const twDisplayName = displayNameEl?.textContent;
return { twAccountName, twDisplayName, twAccountNameRemoveUnderscore, twAccountNameReplaceUnderscore };
return {
twAccountName,
twDisplayName,
twAccountNameRemoveUnderscore,
twAccountNameReplaceUnderscore,
};
};

View File

@@ -33,7 +33,8 @@ export const searchBskyUser = async ({
{
accountName: userData.twAccountName,
accountNameRemoveUnderscore: userData.twAccountNameRemoveUnderscore,
accountNameReplaceUnderscore: userData.twAccountNameReplaceUnderscore,
accountNameReplaceUnderscore:
userData.twAccountNameReplaceUnderscore,
displayName: userData.twDisplayName,
},
searchResult,