chore(docs): Bump prettier, and reformat w/ it.
* Bump to prettier 2.3.1. * Re-run prettier:format to apply updated format.
This commit is contained in:
parent
22800455e2
commit
ba45aaa81b
5 changed files with 13 additions and 14 deletions
|
|
@ -7,7 +7,8 @@
|
|||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
const specialCharactersRegex = /(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
|
||||
const specialCharactersRegex =
|
||||
/(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
|
||||
|
||||
function renderSpecialCharacters(description) {
|
||||
const matches = Array.from(description.matchAll(specialCharactersRegex));
|
||||
|
|
|
|||
|
|
@ -30,10 +30,8 @@ function PowerProfiler() {
|
|||
const { value: psuType, bind: bindPsuType } = useInput("");
|
||||
const { value: outputV, bind: bindOutputV } = useInput(3.3);
|
||||
const { value: quiescentMicroA, bind: bindQuiescentMicroA } = useInput(55);
|
||||
const {
|
||||
value: otherQuiescentMicroA,
|
||||
bind: bindOtherQuiescentMicroA,
|
||||
} = useInput(0);
|
||||
const { value: otherQuiescentMicroA, bind: bindOtherQuiescentMicroA } =
|
||||
useInput(0);
|
||||
const { value: efficiency, bind: bindEfficiency } = useInput(0.9);
|
||||
|
||||
const { value: bondedQty, bind: bindBondedQty } = useInput(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue