Skip to content

Build your personal knowledge base with Trilium Notes

refactor(react/collections): rename

Elian Doranc49e84efc661
diff --git a/apps/client/src/widgets/collections/NoteList.tsx b/apps/client/src/widgets/collections/NoteList.tsx
index 173ec06bee..9d9f772c4b 100644
--- a/apps/client/src/widgets/collections/NoteList.tsx
+++ b/apps/client/src/widgets/collections/NoteList.tsx
@@ -2,7 +2,7 @@ import { allViewTypes, ViewModeProps, ViewTypeOptions } from "./interface";
import { useNoteContext, useNoteLabel, useTriliumEvent } from "../react/hooks";
import FNote from "../../entities/fnote";
import "./NoteList.css";
-import { ListView, GridView } from "./legacy/ListView";
+import { ListView, GridView } from "./legacy/ListOrGridView";
import { useEffect, useState } from "preact/hooks";
interface NoteListProps {
diff --git a/apps/client/src/widgets/collections/legacy/ListView.tsx b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx
similarity index 100%
rename from apps/client/src/widgets/collections/legacy/ListView.tsx
rename to apps/client/src/widgets/collections/legacy/ListOrGridView.tsx