mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 05:01:10 +03:00
Fix build errors
This commit is contained in:
+10
-5
@@ -2,7 +2,6 @@ import { createPortal } from 'react-dom'
|
|||||||
import { useDispatch } from 'react-redux'
|
import { useDispatch } from 'react-redux'
|
||||||
import { useState, useEffect } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction, SET_CHATFLOW } from 'store/actions'
|
|
||||||
|
|
||||||
// material-ui
|
// material-ui
|
||||||
import {
|
import {
|
||||||
@@ -20,14 +19,20 @@ import {
|
|||||||
import { IconX, IconTrash, IconPlus } from '@tabler/icons'
|
import { IconX, IconTrash, IconPlus } from '@tabler/icons'
|
||||||
|
|
||||||
// Project import
|
// Project import
|
||||||
import { StyledButton } from 'ui-component/button/StyledButton'
|
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||||
|
|
||||||
// store
|
// store
|
||||||
import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from 'store/actions'
|
import {
|
||||||
import useNotifier from 'utils/useNotifier'
|
enqueueSnackbar as enqueueSnackbarAction,
|
||||||
|
closeSnackbar as closeSnackbarAction,
|
||||||
|
SET_CHATFLOW,
|
||||||
|
HIDE_CANVAS_DIALOG,
|
||||||
|
SHOW_CANVAS_DIALOG
|
||||||
|
} from '@/store/actions'
|
||||||
|
import useNotifier from '@/utils/useNotifier'
|
||||||
|
|
||||||
// API
|
// API
|
||||||
import chatflowsApi from 'api/chatflows'
|
import chatflowsApi from '@/api/chatflows'
|
||||||
|
|
||||||
const AllowedDomainsDialog = ({ show, dialogProps, onCancel, onConfirm }) => {
|
const AllowedDomainsDialog = ({ show, dialogProps, onCancel, onConfirm }) => {
|
||||||
const portalElement = document.getElementById('portal')
|
const portalElement = document.getElementById('portal')
|
||||||
Generated
+3840
-3738
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user