No need to cache the `currentContext` and `allTenants`. You can just pass them into the `renderHeader` function