From d817a75077fa0fa4675aaf89e0a29fda6713ba38 Mon Sep 17 00:00:00 2001 From: Sam Duncan Date: Mon, 23 Dec 2024 10:55:47 -0600 Subject: [PATCH] Removed resize function of script --- playbook/app/pb_kits/playbook/pb_table/_table.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/playbook/app/pb_kits/playbook/pb_table/_table.tsx b/playbook/app/pb_kits/playbook/pb_table/_table.tsx index 8430cfc05c..dab72db8d8 100755 --- a/playbook/app/pb_kits/playbook/pb_table/_table.tsx +++ b/playbook/app/pb_kits/playbook/pb_table/_table.tsx @@ -186,12 +186,6 @@ const Table = (props: TableProps): React.ReactElement => { setTimeout(() => { handleStickyRightColumns(); }, 10); - - window.addEventListener('resize', handleStickyRightColumns); - - return () => { - window.removeEventListener('resize', handleStickyRightColumns); - }; }, [stickyRightcolumn]); useEffect(() => {