frontend: Reset current_exercice when viewing theme page

This commit is contained in:
nemunaire 2023-11-04 18:54:21 +01:00
parent 9cca20c6f8
commit e957fccaca
1 changed files with 3 additions and 0 deletions

View File

@ -13,7 +13,10 @@
import { goto } from '$app/navigation';
import { current_theme } from '$lib/stores/themes';
import { set_current_exercice } from '$lib/stores/exercices';
import { my } from '$lib/stores/my.js';
set_current_exercice.set(null);
</script>
<Card class="bg-dark niceborder text-indent mt-2 mb-4">