Skip to content

Commit d1851d3

Browse files
committed
compactify
1 parent 551f1a1 commit d1851d3

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

packages/ra-core/src/controller/field/ReferenceFieldBase.stories.tsx

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -398,24 +398,8 @@ export const WithRenderProp = ({ dataProvider = dataProviderWithAuthors }) => (
398398
export const ZeroIndex = ({
399399
dataProvider = fakeRestDataProvider(
400400
{
401-
books: [
402-
{
403-
id: 1,
404-
title: 'War and Peace',
405-
author: 0,
406-
summary:
407-
"War and Peace broadly focuses on Napoleon's invasion of Russia, and the impact it had on Tsarist society. The book explores themes such as revolution, revolution and empire, the growth and decline of various states and the impact it had on their economies, culture, and society.",
408-
year: 1869,
409-
},
410-
],
411-
authors: [
412-
{
413-
id: 0,
414-
first_name: 'Leo',
415-
last_name: 'Tolstoy',
416-
language: 'Russian',
417-
},
418-
],
401+
books: [{ id: 1, title: 'War and Peace', author: 0 }],
402+
authors: [{ id: 0, first_name: 'Leo', last_name: 'Tolstoy' }],
419403
},
420404
process.env.NODE_ENV === 'development'
421405
),

0 commit comments

Comments
 (0)