Ver código fonte

keep add and remove the same (#25277)

tags/2.0.0-beta.2^2
Asuka Minato 1 mês atrás
pai
commit
27bf244b3b
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 3
web/app/components/plugins/marketplace/plugin-type-switch.tsx Ver arquivo

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

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

Carregando…
Cancelar
Salvar