removed useless comment
This commit is contained in:
parent
c93c4627d0
commit
a6c9c28792
1 changed files with 0 additions and 1 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue