colossal-harlequinC
Refine2y ago
15 replies
colossal-harlequin

getting error in customtitlle handler

Getting this error in custom title handler

const customTitleHandler = ({ resource, action, params }) => {
let title = "Custom default"; // Default title

if (resource && action) {
title = ${resource} ${action} ${params.id};
}

return title;
};

Binding element 'resource' implicitly has an 'any' type.ts(7031)
Was this page helpful?