Formatting and Linting

This commit is contained in:
Joe 2020-08-13 09:05:22 +01:00
parent 6dc0a3a0d3
commit 2773370a4a
2 changed files with 20 additions and 15 deletions

View File

@ -16,15 +16,12 @@
const joinPath = join("/") const joinPath = join("/")
const normalizedName = name => const normalizedName = name =>
pipe( pipe(name, [
name,
[
trimCharsStart("./"), trimCharsStart("./"),
trimCharsStart("~/"), trimCharsStart("~/"),
trimCharsStart("../"), trimCharsStart("../"),
trimChars(" "), trimChars(" "),
] ])
)
const changeScreen = screen => { const changeScreen = screen => {
store.setCurrentScreen(screen.props._instanceName) store.setCurrentScreen(screen.props._instanceName)

View File

@ -448,7 +448,15 @@ export default {
label: "Card Width", label: "Card Width",
key: "cardWidth", key: "cardWidth",
control: OptionSelect, control: OptionSelect,
options: [ "24rem", "28rem", "32rem", "40rem", "48rem", "60rem", "100%"], options: [
"24rem",
"28rem",
"32rem",
"40rem",
"48rem",
"60rem",
"100%",
],
placeholder: "Card Height", placeholder: "Card Height",
}, },
{ {
@ -468,7 +476,7 @@ export default {
], ],
}, },
}, },
] ],
}, },
{ {