Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3270 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3270 Rev 3694
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react';
2
import { Link } from 'react-router-dom'
2
import { Link } from 'react-router-dom';
3
import { Button } from '@mui/material'
3
import { Button } from '@mui/material';
4
import { Add } from '@mui/icons-material'
4
import Add from '@mui/icons-material/Add';
Línea 5... Línea 5...
5
 
5
 
Línea 6... Línea 6...
6
import { useParadigms } from '@hooks'
6
import { useParadigms } from '@hooks';
7
 
7
 
8
import PageHeader from '@components/common/page-header'
8
import PageHeader from '@components/common/page-header';
9
import List from '@components/common/list'
9
import List from '@components/common/list';
Línea 10... Línea 10...
10
import LoadingWrapper from '@components/common/loading-wrapper'
10
import LoadingWrapper from '@components/common/loading-wrapper';
11
import ParadigmItem from '@components/habits/paradigms/paradigm-item'
11
import ParadigmItem from '@components/habits/paradigms/paradigm-item';
Línea 12... Línea 12...
12
 
12
 
13
export default function ParadigmsPage() {
13
export default function ParadigmsPage() {
14
  const { paradigms, loading } = useParadigms()
14
  const { paradigms, loading } = useParadigms();
15
 
15
 
Línea 31... Línea 31...
31
          renderItem={(paradigm) => <ParadigmItem paradigm={paradigm} />}
31
          renderItem={(paradigm) => <ParadigmItem paradigm={paradigm} />}
32
          emptyMessage='No hay paradigmas para mostrar'
32
          emptyMessage='No hay paradigmas para mostrar'
33
        />
33
        />
34
      </LoadingWrapper>
34
      </LoadingWrapper>
35
    </>
35
    </>
36
  )
36
  );
37
}
37
}