Migration to Faker-js
This commit is contained in:
@@ -4,7 +4,7 @@ import paginationFactory from 'react-bootstrap-table2-paginator';
|
||||
import filterFactory, { Comparator, dateFilter } from 'react-bootstrap-table2-filter'
|
||||
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
|
||||
import _ from 'lodash';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
import moment from 'moment';
|
||||
|
||||
import {
|
||||
|
@@ -3,7 +3,7 @@ import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
|
||||
import moment from 'moment';
|
||||
import _ from 'lodash';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
import {
|
||||
Avatar,
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
const columns = [
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
const columns = [
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import cellEditFactory, { Type } from 'react-bootstrap-table2-editor';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
import { randomArray } from './../../../../utilities';
|
||||
|
||||
|
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
import { CustomSearch } from './CustomSearch';
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
import classes from './LargeTable.scss';
|
||||
import { Card, CardHeader } from './../../../../components';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
const columns = [
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import _ from 'lodash';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
import faker from 'faker/locale/en_US';
|
||||
import { faker } from '@faker-js/faker/locale/fr';
|
||||
|
||||
const sortCaret = (order) => {
|
||||
if (!order)
|
||||
|
Reference in New Issue
Block a user