Skip to content

Commit aa7d57d

Browse files
committed
fix errors
1 parent 452d181 commit aa7d57d

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

.github/renovate.json5

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
2-
extends: ["config:js-app", "helpers:disableTypesNodeMajor", "schedule:earlyMondays", "group:allNonMajor"],
2+
extends: [
3+
"config:js-app",
4+
"helpers:disableTypesNodeMajor",
5+
"schedule:earlyMondays",
6+
"group:allNonMajor",
7+
],
38
prConcurrentLimit: 5,
49
branchConcurrentLimit: 5,
510
labels: ["dependencies"],

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "siege-ui",
3-
"version": "0.1.0",
3+
"type": "module",
44
"private": true,
55
"packageManager": "pnpm@10.15.0",
66
"engines": {

src/graphql/generated.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable unicorn/no-abusive-eslint-disable */
2-
/* eslint-disable */
31
/* THIS IS A GENERATED FILE */
42
export type Maybe<T> = T | null
53
export type InputMaybe<T> = Maybe<T>

src/graphql/requests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ export const useStrat = () => {
109109
const toggleLiked = async () => {
110110
if (state.strat == null) return null
111111

112-
const result = await toggleLikeMutation(state.strat.liked, {
113-
uuid: state.strat.uuid,
112+
const result = await toggleLikeMutation(state.strat.liked!, {
113+
uuid: state.strat.uuid!,
114114
})
115115

116116
state.strat = {

src/main.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { createVaporApp } from "vue"
1+
import { createVaporApp, type VaporComponent } from "vue"
22

33
import App from "./app.vue"
44

5-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
6-
const app = createVaporApp(App)
5+
const app = createVaporApp(App as VaporComponent)
76

87
app.mount("#app")

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const localStorageRef = <
1616
defaultValue?: D,
1717
) => {
1818
const theRef = ref<V | D>(
19-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
19+
// eslint-disable-next-line ts/no-unsafe-argument
2020
JSON.parse(localStorage.getItem(key) ?? "null") ?? defaultValue ?? null,
2121
)
2222

0 commit comments

Comments
 (0)