From 211e4ff74d3f3af8facde667b6552a51ff9ae3c7 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 26 Apr 2023 13:09:44 +0800 Subject: [PATCH] Rename to NavMenu to avoid confusion --- src/components/{menu.jsx => nav-menu.jsx} | 0 src/components/timeline.jsx | 4 ++-- src/pages/followed-hashtags.jsx | 4 ++-- src/pages/lists.jsx | 4 ++-- src/pages/notifications.jsx | 4 ++-- src/pages/search.jsx | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) rename src/components/{menu.jsx => nav-menu.jsx} (100%) diff --git a/src/components/menu.jsx b/src/components/nav-menu.jsx similarity index 100% rename from src/components/menu.jsx rename to src/components/nav-menu.jsx diff --git a/src/components/timeline.jsx b/src/components/timeline.jsx index e0cdc7f7..e7607257 100644 --- a/src/components/timeline.jsx +++ b/src/components/timeline.jsx @@ -14,7 +14,7 @@ import useScroll from '../utils/useScroll'; import Icon from './icon'; import Link from './link'; import Loader from './loader'; -import Menu from './menu'; +import NavMenu from './nav-menu'; import Status from './status'; function Timeline({ @@ -275,7 +275,7 @@ function Timeline({ >
- + {headerStart !== null && headerStart !== undefined ? ( headerStart ) : ( diff --git a/src/pages/followed-hashtags.jsx b/src/pages/followed-hashtags.jsx index 5e07a53f..ba107332 100644 --- a/src/pages/followed-hashtags.jsx +++ b/src/pages/followed-hashtags.jsx @@ -3,7 +3,7 @@ import { useEffect, useState } from 'preact/hooks'; import Icon from '../components/icon'; import Link from '../components/link'; import Loader from '../components/loader'; -import Menu from '../components/menu'; +import NavMenu from '../components/nav-menu'; import { api } from '../utils/api'; import useTitle from '../utils/useTitle'; @@ -45,7 +45,7 @@ function FollowedHashtags() {
- + diff --git a/src/pages/lists.jsx b/src/pages/lists.jsx index 5aa3ceea..a8dbb119 100644 --- a/src/pages/lists.jsx +++ b/src/pages/lists.jsx @@ -6,8 +6,8 @@ import Icon from '../components/icon'; import Link from '../components/link'; import ListAddEdit from '../components/list-add-edit'; import Loader from '../components/loader'; -import Menu from '../components/menu'; import Modal from '../components/modal'; +import NavMenu from '../components/nav-menu'; import { api } from '../utils/api'; import useTitle from '../utils/useTitle'; @@ -41,7 +41,7 @@ function Lists() {
- + diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index 9476fdb9..4492263f 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -8,8 +8,8 @@ import Avatar from '../components/avatar'; import Icon from '../components/icon'; import Link from '../components/link'; import Loader from '../components/loader'; -import Menu from '../components/menu'; import NameText from '../components/name-text'; +import NavMenu from '../components/nav-menu'; import RelativeTime from '../components/relative-time'; import Status from '../components/status'; import { api } from '../utils/api'; @@ -166,7 +166,7 @@ function Notifications() { >
- + diff --git a/src/pages/search.jsx b/src/pages/search.jsx index ba12823e..d6e9a7ac 100644 --- a/src/pages/search.jsx +++ b/src/pages/search.jsx @@ -7,7 +7,7 @@ import AccountBlock from '../components/account-block'; import Icon from '../components/icon'; import Link from '../components/link'; import Loader from '../components/loader'; -import Menu from '../components/menu'; +import NavMenu from '../components/nav-menu'; import Status from '../components/status'; import { api } from '../utils/api'; import useTitle from '../utils/useTitle'; @@ -53,7 +53,7 @@ function Search(props) {
- +
{