remove some frontend warnings

This commit is contained in:
Ruben Fiszel
2022-10-14 16:32:15 +02:00
parent 5707dfe4f1
commit 64014f1795
7 changed files with 1 additions and 8 deletions
@@ -3,7 +3,7 @@
import { workspaceStore } from '$lib/stores'
import { faClose, faPlay, faRefresh } from '@fortawesome/free-solid-svg-icons'
import { Button } from './common'
import { createEventDispatcher, getContext, onDestroy } from 'svelte'
import { createEventDispatcher, getContext } from 'svelte'
import Icon from 'svelte-awesome'
import { flowStateStore } from './flows/flowState'
import { mapJobResultsToFlowState, type JobResult } from './flows/flowStateUtils'
@@ -1,5 +1,4 @@
<script lang="ts">
import Icon from 'svelte-awesome'
import AirtableIcon from './icons/AirtableIcon.svelte'
import DbIcon from './icons/DbIcon.svelte'
import DiscordIcon from './icons/DiscordIcon.svelte'
@@ -1,7 +1,6 @@
<script lang="ts">
import type { Schema } from '$lib/common'
import PageHeader from './PageHeader.svelte'
import SchemaForm from './SchemaForm.svelte'
import Tab from './common/tabs/Tab.svelte'
import Tabs from './common/tabs/Tabs.svelte'
@@ -6,7 +6,6 @@
import { classNames } from '$lib/utils'
import {
faArrowRotateBack,
faArrowRotateForward,
faBed,
faCodeBranch,
@@ -74,8 +74,6 @@ export function selectedIdToModuleState(selectedId: string, flow: FlowState): Fl
}
}
const loadSchemaLastRun = writable<[string | undefined, Schema]>(undefined)
export async function loadSchemaFromModule(module: FlowModule): Promise<{
input_transforms: Record<string, InputTransform>
schema: Schema
@@ -13,7 +13,6 @@
import { page } from '$app/stores'
import { sendUserToast } from '$lib/utils'
import PageHeader from '$lib/components/PageHeader.svelte'
import { workspaceStore } from '$lib/stores'
import CenteredPage from '$lib/components/CenteredPage.svelte'
import Tabs from '$lib/components/common/tabs/Tabs.svelte'
-1
View File
@@ -10,7 +10,6 @@
import { page } from '$app/stores'
import { sendUserToast, formatCron } from '$lib/utils'
import { ScriptService, Script, ScheduleService, type Flow, FlowService } from '$lib/gen'
import PageHeader from '$lib/components/PageHeader.svelte'
import Path from '$lib/components/Path.svelte'
import { Button } from '$lib/components/common'
import Tooltip from '$lib/components/Tooltip.svelte'