S6767 FP: Invalid `PropType is defined but prop is never used` error

I have a similar example but a few more abstractions to get to the destructuring in the end so this should be the same error right?