Fix coding style

This commit is contained in:
dklimpel 2020-03-29 20:36:55 +02:00
parent accd3692c5
commit 57d97a7ae6
2 changed files with 6 additions and 13 deletions

View File

@ -2,16 +2,11 @@ import React from "react";
import { Datagrid, List, TextField, Pagination } from "react-admin";
const RoomPagination = props => (
<Pagination
{...props}
rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]}
/>);
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
);
export const RoomList = props => (
<List
{...props}
pagination={<RoomPagination />}
>
<List {...props} pagination={<RoomPagination />}>
<Datagrid>
<TextField source="room_id" />
<TextField source="name" />

View File

@ -14,14 +14,12 @@ import {
TextInput,
ReferenceField,
regex,
Pagination
Pagination,
} from "react-admin";
const UserPagination = props => (
<Pagination
{...props}
rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]}
/>);
<Pagination {...props} rowsPerPageOptions={[10, 25, 50, 100, 500, 1000]} />
);
const UserFilter = props => (
<Filter {...props}>