'userState' is not defined no-undef Search for the keywords to learn more about each error. code example
Example: 'useState' is not defined no-undef
import React, { useState } from "react";
import React, { useState } from "react";