refactor(template-drawer): remove unused parameters from TemplateDrawer component

- Eliminated unused parameters in the TemplateDrawer component to clean up the code and improve readability.
This commit is contained in:
chamikaJ
2025-07-25 15:23:02 +05:30
parent 2aaf0fc19a
commit 8380b354cc

View File

@@ -38,10 +38,8 @@ const TemplateDrawer: React.FC<TemplateDrawerProps> = ({
showBothTabs = false,
templateSelected = (templateId: string) => {
if (!templateId) return;
templateId;
},
selectedTemplateType = (type: 'worklenz' | 'custom') => {
type;
},
}) => {
const themeMode = useSelector((state: RootState) => state.themeReducer.mode);