Skip to content

Commit

Permalink
Fix [Artifacts] the current artifact name is included in the request …
Browse files Browse the repository at this point in the history
…when switching between artifact pages (#2803)
  • Loading branch information
illia-prokopchuk authored Oct 8, 2024
1 parent 32a8827 commit e05d365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ArtifactsActionBar/ArtifactsActionBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ illegal under applicable law, and the grant of the foregoing license
under the Apache 2.0 license is conditioned upon your compliance with
such restriction.
*/
import React, { useEffect, useMemo } from 'react'
import React, { useEffect, useLayoutEffect, useMemo } from 'react'
import { createForm } from 'final-form'
import arrayMutators from 'final-form-arrays'
import { Form } from 'react-final-form'
Expand Down Expand Up @@ -75,7 +75,7 @@ function ArtifactsActionBar({
}
}, [filterMenuModal.initialValues])

useEffect(() => {
useLayoutEffect(() => {
return () => {
dispatch(removeFilters())
}
Expand Down

0 comments on commit e05d365

Please sign in to comment.