Skip to content

Commit

Permalink
fix: add warning that there's no database
Browse files Browse the repository at this point in the history
  • Loading branch information
elsirion committed Sep 1, 2023
1 parent 9374dcc commit 66837ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ pub fn App(cx: Scope) -> impl IntoView {
fallback=|_| empty_view()
>
<h1 class="font-heading text-gray-900 text-4xl font-semibold mb-6">"Join a Federation"</h1>
<div class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4 mb-8" role="alert">
<p class="font-bold">Warning</p>
<p>This demo lacks persistent storage, reloading the bowser tab will reset all state and burn all deposited funds.</p>
</div>
<SubmitForm
description="Enter invite code (i.e. fed11jpr3lgm8t…) to join a Federation".into()
on_submit=move |value| join_action.dispatch(value)
Expand Down

0 comments on commit 66837ff

Please sign in to comment.