Skip to content

Commit

Permalink
dev: Run yarn upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed Feb 6, 2024
1 parent d4a3e50 commit 0ddfe64
Show file tree
Hide file tree
Showing 2 changed files with 1,074 additions and 1,582 deletions.
4 changes: 2 additions & 2 deletions pkg/webui/console/components/payload-formatters-form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import React, { useCallback, useEffect, useRef, useState } from 'react'
import { injectIntl, defineMessages } from 'react-intl'
import { Col, Row } from 'react-grid-system'
import { unstable_useBlocker } from 'react-router-dom'
import { useBlocker } from 'react-router-dom'

import TYPES from '@console/constants/formatter-types'

Expand Down Expand Up @@ -254,7 +254,7 @@ const PayloadFormattersForm = ({
},
[formRef],
)
const blocker = unstable_useBlocker(shouldBlock)
const blocker = useBlocker(shouldBlock)

useEffect(() => {
const isDirty = Boolean(
Expand Down
Loading

0 comments on commit 0ddfe64

Please sign in to comment.