Skip to content

Commit

Permalink
lint: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mickol34 committed Jan 9, 2025
1 parent 2326e80 commit c5edd00
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/mqueryfront/src/components/ActionShowMatchContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ const useClickOutsideModal = (ref, callback) => {
};

function base64ToHex(str64) {
return atob(str64)
.split("")
.map(function (aChar) {
return ("0" + aChar.charCodeAt(0).toString(16)).slice(-2);
})
.join(" ")
.toUpperCase() + ' ';
return (
atob(str64)
.split("")
.map(function (aChar) {
return ("0" + aChar.charCodeAt(0).toString(16)).slice(-2);
})
.join(" ")
.toUpperCase() + " "
);
}

function base64ToSanitizedString(str64) {
Expand Down Expand Up @@ -113,7 +115,11 @@ const ActionShowMatchContext = (props) => {
</td>
<td scope="row" className="text-monospace">
{ReactHtmlParser(
cellHTML(foundSample, 8, base64ToSanitizedString)
cellHTML(
foundSample,
8,
base64ToSanitizedString
)
)}
</td>
</>
Expand Down

0 comments on commit c5edd00

Please sign in to comment.