fix(model-selector): prevent saving empty default model
- throw a toast error when user is trying to click on `set as default` without actually choosing the model(s). - feat: added hmr for local development. use `npm run dev` and you get the hmr when debugging.
This commit is contained in:
1 parent
72524272f0
commit
4d3754980d
2 files changed
+10
-2
No files matched your search
+4
-1
@@ -2,5 +2,8 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()]
|
||||
plugins: [sveltekit()],
|
||||
server: {
|
||||
hmr: true
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user