mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 22:32:02 +00:00
clean reducer
Signed-off-by: Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
3189cc656a
commit
a735697f99
@ -1,40 +1,7 @@
|
|||||||
import { fromJS } from 'immutable';
|
import { fromJS } from 'immutable';
|
||||||
|
|
||||||
const initialState = fromJS({
|
const initialState = fromJS({
|
||||||
areAllCheckboxesSelected: false,
|
data: [],
|
||||||
data: [
|
|
||||||
{
|
|
||||||
id: '1',
|
|
||||||
name: 'Chat paysage',
|
|
||||||
size: 17329,
|
|
||||||
type: 'image/png',
|
|
||||||
url:
|
|
||||||
'https://images.pexels.com/photos/20787/pexels-photo.jpg?auto=compress&cs=tinysrgb&h=350',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '2',
|
|
||||||
name: 'Chat portrait',
|
|
||||||
size: 17329,
|
|
||||||
type: 'image/png',
|
|
||||||
url: 'https://emiliedammedumoulin.com/wp-content/uploads/2018/07/contact-chat-accueil.jpg',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '3',
|
|
||||||
name: 'Gif',
|
|
||||||
size: 17329,
|
|
||||||
type: 'image/png',
|
|
||||||
url:
|
|
||||||
'https://user-images.githubusercontent.com/879561/51321923-54024f00-1a64-11e9-8c37-3308350a59c4.gif',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '4',
|
|
||||||
name: 'Paysage',
|
|
||||||
size: 17329,
|
|
||||||
type: 'image/png',
|
|
||||||
url:
|
|
||||||
'https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSyHCXO8D0QQrPDuGstvH9dEwhhB7Qv-3mDMWGpLExyY1CF84cL',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
dataToDelete: [],
|
dataToDelete: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user