diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 96c3306c..11aabc9f 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -30,12 +30,12 @@ if (!window.webpackJsonp || window.webpackJsonp.deckyShimmed) { if (mod[1].get_require) return { c: v4Cache }; }, }; + CommonUIModule.__deckyButtonItemShim = forwardRef((props: any, ref: any) => { + // tricks the old filter into working + const dummy = `childrenContainerWidth:"min"`; + return ; + }); } -CommonUIModule.__deckyButtonItemShim = forwardRef((props: any, ref: any) => { - // tricks the old filter into working - const dummy = `childrenContainerWidth:"min"`; - return ; -}); (async () => { window.deckyHasLoaded = true;