Parse is not initialising

Hello,
im new to parse.
i have a react app where im trying to query a class in my db but the problem is whenever i try to it shows in the console that i need to initialize parse, which i have, or maybe im doing it wrong pls help
Initialize File

import Parse from "parse";

const initParse = () => {
  // Your Parse initialization configuration goes here
  const PARSE_APPLICATION_ID = 
  const PARSE_HOST_URL = "";
  const PARSE_JAVASCRIPT_KEY = 

  Parse.initialize(PARSE_APPLICATION_ID, PARSE_JAVASCRIPT_KEY);

  Parse.serverURL = PARSE_HOST_URL;
};

export default initParse;

usage

import Parse from "parse";
import initParse from "path/to/initFile"


initParse; // i also called this function in my app.js just to be sure. i still got the same error
const Address = async code => {
  const packages = Parse.Object.extend("");
  const query = new Parse.Query();
  // You can also query by using a parameter of an object
  query.equalTo("", code);
  try {
    const results = await query.find();
    console.log(results);
  } catch (error) {
    console.error("Error while fetching ", error);
  }
};

export default Address;

Since initParse is function. Ä°t must be initParse();