mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
chore(web): new lint setup (#30020)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { useCallback } from 'react'
|
||||
import { useStore as usePluginDependenciesStore } from './store'
|
||||
import { useMutationCheckDependencies } from '@/service/use-plugins'
|
||||
import { useCheckPipelineDependencies } from '@/service/use-pipeline'
|
||||
import { useMutationCheckDependencies } from '@/service/use-plugins'
|
||||
import { useStore as usePluginDependenciesStore } from './store'
|
||||
|
||||
export const usePluginDependencies = () => {
|
||||
const { mutateAsync: checkWorkflowDependencies } = useMutationCheckDependencies()
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { useCallback } from 'react'
|
||||
import { useStore } from './store'
|
||||
import InstallBundle from '@/app/components/plugins/install-plugin/install-bundle'
|
||||
import { useStore } from './store'
|
||||
|
||||
const PluginDependency = () => {
|
||||
const dependencies = useStore(s => s.dependencies)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { create } from 'zustand'
|
||||
import type { Dependency } from '@/app/components/plugins/types'
|
||||
import { create } from 'zustand'
|
||||
|
||||
type Shape = {
|
||||
dependencies: Dependency[]
|
||||
|
||||
Reference in New Issue
Block a user