* refactor: rename hook files from .tsx to .ts and remove unused absoluteUrl function * chore: format