-
Notifications
You must be signed in to change notification settings - Fork 15
feat: remove unused exports, functions and files #1750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ import {useAutoRefreshInterval} from '../../utils/hooks'; | |
|
||
import {OperationsControls} from './OperationsControls'; | ||
import {getColumns} from './columns'; | ||
import {OPERATIONS_SELECTED_COLUMNS_KEY} from './constants'; | ||
import i18n from './i18n'; | ||
import {b} from './shared'; | ||
import {useOperationsQueryParams} from './useOperationsQueryParams'; | ||
|
@@ -62,6 +63,7 @@ export function Operations({database}: OperationsProps) { | |
{data ? ( | ||
<ResizeableDataTable | ||
columns={getColumns({database, refreshTable: refetch})} | ||
columnsWidthLSKey={OPERATIONS_SELECTED_COLUMNS_KEY} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This property was declared, but was not passed |
||
data={filteredOperations} | ||
emptyDataMessage={i18n('title_empty')} | ||
/> | ||
|
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unimported
is marked as deprecated now in favor ofknip
.knip
can search not only unused files and deps, but also unused exports. When unused export is deleted and function is not used locally, it will be marked by our linter