소스 검색

keep add and remove the same (#25277)

tags/2.0.0-beta.2^2
Asuka Minato 1 개월 전
부모
커밋
27bf244b3b
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    3
      web/app/components/plugins/marketplace/plugin-type-switch.tsx

+ 1
- 3
web/app/components/plugins/marketplace/plugin-type-switch.tsx 파일 보기

@@ -82,9 +82,7 @@ const PluginTypeSwitch = ({
}, [showSearchParams, handleActivePluginTypeChange])

useEffect(() => {
window.addEventListener('popstate', () => {
handlePopState()
})
window.addEventListener('popstate', handlePopState)
return () => {
window.removeEventListener('popstate', handlePopState)
}

Loading…
취소
저장