format code using prettier
This commit is contained in:
parent
91999a6303
commit
abde6817f0
27 changed files with 326 additions and 260 deletions
|
@ -11,7 +11,7 @@ const MediaAttachmentGrid: Component<{
|
|||
}> = (props) => {
|
||||
let rootRef: HTMLElement;
|
||||
const [viewerIndex, setViewerIndex] = createSignal<number>();
|
||||
const viewerOpened = () => typeof viewerIndex() !== "undefined"
|
||||
const viewerOpened = () => typeof viewerIndex() !== "undefined";
|
||||
const gridTemplateColumns = () => {
|
||||
const l = props.attachments.length;
|
||||
if (l < 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue