diff --git a/app/models/Document.js b/app/models/Document.js index 4fe1819a8..a31412940 100644 --- a/app/models/Document.js +++ b/app/models/Document.js @@ -93,7 +93,7 @@ export default class Document extends BaseModel { @computed get permanentlyDeletedAt(): ?string { if (!this.deletedAt) { - return; + return undefined; } return addDays(new Date(this.deletedAt), 30).toString(); diff --git a/app/scenes/Search/components/FilterOptions.js b/app/scenes/Search/components/FilterOptions.js index 130a86b0e..7346826cf 100644 --- a/app/scenes/Search/components/FilterOptions.js +++ b/app/scenes/Search/components/FilterOptions.js @@ -2,7 +2,6 @@ import * as React from 'react'; import { find } from 'lodash'; import styled from 'styled-components'; -import Scrollable from 'components/Scrollable'; import Button, { Inner } from 'components/Button'; import { DropdownMenu } from 'components/DropdownMenu'; import FilterOption from './FilterOption';