fix: remove infinite loop in submit_action effects
This commit is contained in:
1 parent
9ebab0689a
commit
95b69a36a8
7 files changed
+54
-52
No files matched your search
@@ -41,19 +41,16 @@ pub fn DashboardButton(
|
||||
<button
|
||||
type="button"
|
||||
class="dashboard-button flex items-start gap-3 rounded-lg bg-white border-grey-300 p-6
|
||||
hover:bg-gray-100 transition cursor-pointer w-full text-left
|
||||
shadow-[inset_0_0_6px_rgba(0,0,0,0.12)]"
|
||||
on:click=on_click>
|
||||
hover:bg-gray-100 transition cursor-pointer w-full text-left
|
||||
shadow-[inset_0_0_6px_rgba(0,0,0,0.12)]"
|
||||
on:click=on_click
|
||||
>
|
||||
|
||||
<div class="flex flex-col">
|
||||
<img src={icon.clone()} class="h-8 w-8" alt="icon"/>
|
||||
<h3 class="font-semibold text-base">
|
||||
{title.clone()}
|
||||
</h3>
|
||||
<img src=icon.clone() class="h-8 w-8" alt="icon" />
|
||||
<h3 class="font-semibold text-base">{title.clone()}</h3>
|
||||
|
||||
<p class="text-sm text-gray-600 pt-6">
|
||||
{description.clone()}
|
||||
</p>
|
||||
<p class="text-sm text-gray-600 pt-6">{description.clone()}</p>
|
||||
|
||||
</div>
|
||||
</button>
|
||||
|
||||
@@ -24,7 +24,5 @@ pub fn ProviderLoginContext() -> impl IntoView {
|
||||
"/providers/callback"
|
||||
);
|
||||
|
||||
view! {
|
||||
<Outlet />
|
||||
}
|
||||
view! { <Outlet /> }
|
||||
}
|
||||
@@ -24,7 +24,5 @@ pub fn StudentLoginContext() -> impl IntoView {
|
||||
"/students/callback"
|
||||
);
|
||||
|
||||
view! {
|
||||
<Outlet />
|
||||
}
|
||||
view! { <Outlet /> }
|
||||
}
|
||||
Reference in new issue
Block a user