Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
chore: remove unused page (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-avb authored Mar 26, 2024
1 parent f04b8b6 commit a2c200b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
21 changes: 0 additions & 21 deletions src/pages/chat/chat_room.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/pages/chat/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod chat;
pub mod chat_list;
pub mod chat_room;
pub mod room;
4 changes: 1 addition & 3 deletions src/pages/route.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use dioxus_router::prelude::*;
use super::{page_not_found::PageNotFound, profile::profile::Profile, profile::verify::Verify};

use crate::{
pages::chat::chat::Chat, pages::chat::chat_list::ChatList, pages::chat::chat_room::ChatRoom,
pages::chat::chat::Chat, pages::chat::chat_list::ChatList,
pages::chat::room::group::RoomGroup, pages::chat::room::new::RoomNew,
};

Expand All @@ -23,8 +23,6 @@ pub enum Route {
#[layout(Chat)]
#[route("/list")]
ChatList {},
#[route("/chat/:name")]
ChatRoom {name: String},
#[end_layout]
#[route("/room")]
RoomNew {},
Expand Down

0 comments on commit a2c200b

Please sign in to comment.