Skip to content

Commit 9000656

Browse files
committed
📝 better code readability
1 parent ff740bc commit 9000656

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,14 @@ this.cols = [
146146
name: 'Model',
147147
formatter: cell => {
148148
const current = this.$gridjs.uuid()
149-
this.$gridjs.render(`[data-ref="${current}"]`, FormatterComponent, { content: cell, otherProp: true })
149+
this.$gridjs.render(
150+
`[data-ref="${current}"]`,
151+
FormatterComponent,
152+
{
153+
content: cell,
154+
otherProp: true
155+
}
156+
)
150157
return this.$gridjs.html(`<div data-ref="${current}"></div>`)
151158
}
152159
},

0 commit comments

Comments
 (0)