Reformat code.
This commit is contained in:
parent
9fc0f9347b
commit
e0a3106d2e
|
@ -9,12 +9,12 @@ export class TransitViewSecretPage extends Page {
|
|||
|
||||
makeTile(title, description, icon = "code", onclick = _ => { }) {
|
||||
return makeElement({
|
||||
tag: "div",
|
||||
class: ["uk-tile", "uk-tile-default", "uk-tile-primary", "uk-padding-small"],
|
||||
children: makeElement({
|
||||
tag: "a",
|
||||
class: "uk-link-heading",
|
||||
onclick: onclick,
|
||||
children: makeElement({
|
||||
tag: "div",
|
||||
class: ["uk-tile", "uk-tile-default", "uk-tile-primary", "uk-padding-small"],
|
||||
children: [
|
||||
makeElement({
|
||||
tag: "p",
|
||||
|
@ -37,7 +37,6 @@ export class TransitViewSecretPage extends Page {
|
|||
})
|
||||
]
|
||||
})
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue