Error in getting Token Price

I am trying to get the token price from useTokenPrice hook but its giving me this error
Error:
Fetch Price error {ā€œcodeā€: 141, ā€œerrorā€: ā€œInvalid function: ā€œgetTokenPriceā€ā€}

You ought to use fetchTokenPrice.
You can check Here