Skip to content
Snippets Groups Projects
Commit 64cfc963 authored by marcantoinem's avatar marcantoinem
Browse files

fix: localstorage not updated

parent b34609d3
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,9 @@ where ...@@ -193,6 +193,9 @@ where
courses.retain(|c| c.sigle.as_str() != sigle); courses.retain(|c| c.sigle.as_str() != sigle);
}} }}
); );
state.stored_courses.update_value(|courses| {
courses.retain(|c| c.sigle.as_str() != sigle);
});
submit(); submit();
} }
}><X weight=IconWeight::Regular size="16px"/></button> }><X weight=IconWeight::Regular size="16px"/></button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment