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:
@@ -38,10 +38,8 @@ const TemplateDrawer: React.FC<TemplateDrawerProps> = ({
|
|||||||
showBothTabs = false,
|
showBothTabs = false,
|
||||||
templateSelected = (templateId: string) => {
|
templateSelected = (templateId: string) => {
|
||||||
if (!templateId) return;
|
if (!templateId) return;
|
||||||
templateId;
|
|
||||||
},
|
},
|
||||||
selectedTemplateType = (type: 'worklenz' | 'custom') => {
|
selectedTemplateType = (type: 'worklenz' | 'custom') => {
|
||||||
type;
|
|
||||||
},
|
},
|
||||||
}) => {
|
}) => {
|
||||||
const themeMode = useSelector((state: RootState) => state.themeReducer.mode);
|
const themeMode = useSelector((state: RootState) => state.themeReducer.mode);
|
||||||
|
|||||||
Reference in New Issue
Block a user