Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
refactor(react/collections): rename
Elian Doranc49e84efc661
diff --git a/apps/client/src/widgets/collections/NoteList.tsx b/apps/client/src/widgets/collections/NoteList.tsxindex 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.tsxsimilarity index 100%rename from apps/client/src/widgets/collections/legacy/ListView.tsxrename to apps/client/src/widgets/collections/legacy/ListOrGridView.tsx