This commit is contained in:
elforjani13
2021-11-23 15:24:53 +02:00
parent d45005d8c2
commit afee2e90e0
4 changed files with 37 additions and 7 deletions

4
src/components/Can.js Normal file
View File

@@ -0,0 +1,4 @@
import { createCanBoundTo } from '@casl/react';
import ability from '../components/Config/ability';
export default createCanBoundTo(ability);