Closed Drunkenpilot closed 11 months ago
I addressed this in my PR #19.
If this is urgent for you, you could patch the files with my changes using something like patch-package
.
same issue here
Can we please merge and create a new release? @lautr @Dupflo Thanks
@daniele-sarnari-blinkoo sorry only @lautr can do it for us ! I am contributor since one of my PR's was merged but I cannot do it
admin > src > components > DuplicateButton > index.js
import usePluginsQueryParams from "@strapi/admin/admin/src/content-manager/hooks/usePluginsQueryParams";
is broken in v4.15.4
temporary move the hook inline fixes it:
/**
* fix broken import with v14.5.4
*/
// import usePluginsQueryParams from "@strapi/admin/admin/src/content-manager/hooks/usePluginsQueryParams";
import { parse, stringify } from 'qs';
import { useLocation } from 'react-router-dom';
const usePluginsQueryParams = () => {
const { search } = useLocation();
const query = search ? parse(search.substring(1)) : {};
return query.plugins ? stringify({ plugins: query.plugins }, { encode: false }) : '';
};
/**
* end fix broken import with v14.5.4
*/
Hi, i merged the update and published a new release
Error details