Custom Plugin of Content Manager

From what I see on the source code, you have chosen the wrong react hook.
useStrapiApp does not support any arguments.

Take a look at useCMEditViewDataManager