Pinia Store init function
Hi, i have a pinia store and want to init some data by using an init function. Both functions works fine but if i execute both functions i get the error message. If i call just one of them functions all works fine. Whats the problem? Can anyone help?
![No description](https://cdn.answeroverflow.com/1254716509398237185/Bildschirmfoto_2024-06-24_um_10.31.43.png)
![No description](https://cdn.answeroverflow.com/1254716509893300317/Bildschirmfoto_2024-06-24_um_10.31.26.png)
1 Reply
Have you tried
$fetch
instead of useFetch
?