mirror of https://github.com/langgenius/dify.git
fix: oxlint warning
This commit is contained in:
parent
78d47fa28f
commit
142f650d73
|
|
@ -33,7 +33,10 @@ const PlanUpgradeModal: FC<Props> = ({
|
|||
|
||||
const handleUpgrade = useCallback(() => {
|
||||
onClose()
|
||||
onUpgrade ? onUpgrade() : setShowPricingModal()
|
||||
if (onUpgrade)
|
||||
onUpgrade()
|
||||
else
|
||||
setShowPricingModal()
|
||||
}, [onClose, onUpgrade, setShowPricingModal])
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue