mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-27 09:09:02 +08:00
removed useless comment
This commit is contained in:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user