Getting Uncaught Typeerror Path Split Is Not A Function In React

Getting Uncaught Typeerror Path Split Is Not A Function In React