From c4c541ecbf568b12c378cbb7235cd47c949e9ad0 Mon Sep 17 00:00:00 2001 From: nachtjasmin Date: Fri, 14 Jul 2023 06:59:33 +0000 Subject: [PATCH] Format files using prettier --- src/libs/pronouns.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/pronouns.js b/src/libs/pronouns.js index 2d36102..a172e28 100644 --- a/src/libs/pronouns.js +++ b/src/libs/pronouns.js @@ -136,10 +136,10 @@ function sanitizePronouns(str) { str = str.replace(/:[\w_]+:/gi, ""); // Finally, remove leading and trailing whitespace. - str= str.trim(); + str = str.trim(); // If the result is empty, return null, otherwise the empty string. - return str==="" ? null : str; + return str === "" ? null : str; } const knownPronouns = [