КК
Size: a a a
КК
ED
!pathname.includes(`bills/${['create', 'view', 'edit']}`) &&
KG
A
c
КК
const arr = ['create', 'view'];
const checkPath = arr.some((str) => pathname.includes('bills/' + str));
if (checkPath) //--your-code
c
c
КК
🕵
c
c
🕵
C
s
🕵
s
c