# How do I remove a dashboard lens from the dashboard?

You are able to extend **Aero\Admin\Http\Responses\AdminDashboardPage**and use the **removeLens**method. You will need to pass in the key of the lens that you want to remove.

```
<?php

namespace Acme\MyModule;

use Aero\Admin\Http\Responses\AdminDashboardPage;
use Aero\Admin\Lenses\RevenueLens;
use Aero\Common\Providers\ModuleServiceProvider;

class ServiceProvider extends ModuleServiceProvider
{
   public function setup()
   {
       AdminDashboardPage::extend(function (AdminDashboardPage $page) {
           $page->removeLens('revenue-lens');
       });
   }
}

```