Skip to content

Commit fe1871b

Browse files
committed
chore: remove island of contributors page
1 parent 5dacae0 commit fe1871b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/contributors.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
use leptos::{component, view, Fragment, IntoView};
12
#[cfg(not(debug_assertions))]
2-
use leptos::{create_local_resource, SignalGet};
3-
use leptos::{error::Result, island, serde_json::json, view, Fragment, IntoView};
3+
use leptos::{create_local_resource, error::Result, serde_json::json, SignalGet};
44
use serde::{Deserialize, Serialize};
55

66
use crate::components::ContributorCard;
@@ -85,7 +85,7 @@ async fn fetch_contributors() -> Result<Vec<Contributor>> {
8585
Ok(res)
8686
}
8787

88-
#[cfg_attr(not(debug_assertions), island)]
88+
#[cfg_attr(not(debug_assertions), component)]
8989
#[cfg(not(debug_assertions))]
9090
pub fn Contributors() -> impl IntoView {
9191
let contributors_results = create_local_resource(move || (), |()| fetch_contributors());
@@ -127,7 +127,7 @@ pub fn Contributors() -> impl IntoView {
127127
}
128128
}
129129

130-
#[cfg_attr(debug_assertions, island)]
130+
#[cfg_attr(debug_assertions, component)]
131131
#[cfg(debug_assertions)]
132132
pub fn Contributors() -> impl IntoView {
133133
let contributors = [Contributor {

0 commit comments

Comments
 (0)