Skip to content

Commit b7d71d6

Browse files
committed
Update styling and remove build warnings
1 parent d3911f1 commit b7d71d6

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

src/lib/db/tag_rules.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import TagRule from '$lib/entities/TagRule';
33
import { getTagById } from './tags';
44
import api_call from '$lib/utils/api_call';
5-
import { writable } from 'svelte/store';
6-
import type { Writable } from 'svelte/types/runtime/store';
5+
import { Writable, writable } from 'svelte/store';
76

87
export const tagRulesStore: Writable<TagRule[]> = writable();
98

src/routes/tags/new.svelte

-7
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,3 @@
6969
</div>
7070
</div>
7171
</form>
72-
73-
<style lang="scss">
74-
.form-check {
75-
margin-top: 1em;
76-
margin-bottom: 1em;
77-
}
78-
</style>

svelte.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const config = {
2222
kit: {
2323
adapter: adapter(),
2424

25+
prerender: {
26+
default: true,
27+
},
28+
2529
vite: {
2630
prebundleSvelteLibraries: true,
2731
plugins: [

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"extends": "./.svelte-kit/tsconfig.json",
23
"compilerOptions": {
34
"moduleResolution": "node",
45
"module": "es2020",

0 commit comments

Comments
 (0)