mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 23:57:32 +00:00
useSelectionState: Update stories
This commit is contained in:
parent
8cf98ef0c5
commit
5ef6930239
@ -15,7 +15,7 @@ import { useSelectionState } from '@strapi/helper-plugin';
|
||||
|
||||
const Modal = ({ onToggle, isOpen }) => {
|
||||
const [selectedAssets, { selectOne, selectAll, selectOnly, setSelections }] = useSelectionState(
|
||||
'id', // This is the comparaison attribute name
|
||||
['id'], // This are the comparaison attribute names
|
||||
[]
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user