fix compile

This commit is contained in:
Ruben Fiszel
2023-04-01 15:07:32 +02:00
parent 2e955f51b9
commit df98aa4af0
2 changed files with 3 additions and 5 deletions
@@ -6,7 +6,6 @@
ComponentCustomCSS,
RichConfigurations
} from '../../../types'
import InputValue from '../../helpers/InputValue.svelte'
import type { AppInput } from '../../../inputType'
import RunnableWrapper from '../../helpers/RunnableWrapper.svelte'
import { writable } from 'svelte/store'
@@ -100,7 +99,7 @@
)
}
function renderCell(x: any, props: any) {
function renderCell(x: any, props: any): any {
try {
return flexRender(x, props)
} catch (e) {
@@ -297,7 +296,7 @@
on:keypress={() => toggleRow(row, rowIndex)}
on:click={() => toggleRow(row, rowIndex)}
>
<div class="center-center h-full w-full flex-wrap gap-1 ">
<div class="center-center h-full w-full flex-wrap gap-1">
{#each actionButtons as actionButton, actionIndex (actionButton?.id)}
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
<div
@@ -14,8 +14,7 @@
export let capitalize = false
export let icon: BadgeIconProps | undefined = undefined
let defaulIconProps: BadgeIconProps = {
data: undefined,
let defaulIconProps = {
position: 'left',
scale: 0.7
}