mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix linter
This commit is contained in:
@@ -129,7 +129,7 @@ export function MediaView() {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSort = ({ key }: { key: SortKey }) => {
|
const handleSort = ({ key }: { key: MediaSortKey }) => {
|
||||||
if (mediaSortBy === key) {
|
if (mediaSortBy === key) {
|
||||||
setMediaSort(key, mediaSortOrder === "asc" ? "desc" : "asc");
|
setMediaSort(key, mediaSortOrder === "asc" ? "desc" : "asc");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user