Press n or j to go to the next uncovered block, b, p or k for the previous block.
export const removeTrailingSlashIfExists = (str: string) => str.replace(/\/+$/, "");