removed useless comment

This commit is contained in:
anovazzi1
2023-05-22 00:22:05 -03:00
parent c93c4627d0
commit a6c9c28792

View File

@ -40,7 +40,6 @@ export function TypesProvider({ children }: { children: ReactNode }) {
const result = await getAll();
// Make sure to only update the state if the component is still mounted.
if (isMounted) {
// Continue with your logic...
setData(result.data);
setTemplates(
Object.keys(result.data).reduce((acc, curr) => {