Skip to content

Commit 6ae9acc

Browse files
committed
fix linter errors
1 parent dd01567 commit 6ae9acc

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

site/frontend/src/pages/compare/compile/benchmarks.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="tsx">
2-
import {computed, h} from "vue";
2+
import {computed} from "vue";
33
import ComparisonsTable from "./table/comparisons-table.vue";
44
import {TestCaseComparison} from "../data";
55
import {CompareResponse} from "../types";

site/frontend/src/pages/compare/tabs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="tsx">
2-
import {h, ref, Ref} from "vue";
2+
import {ref, Ref} from "vue";
33
import {CompareResponse, Tab} from "./types";
44
import {
55
diffClass,

site/frontend/src/pages/detailed-query/page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="tsx">
2-
import {h, ref, Ref, computed} from "vue";
2+
import {ref, Ref, computed} from "vue";
33
import {getUrlParams, changeUrl} from "../../utils/navigation";
44
import {postMsgpack} from "../../utils/requests";
55
import {SELF_PROFILE_DATA_URL} from "../../urls";

site/frontend/src/pages/status_new/page.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ const dataNew: Ref<{
3636
timeline: BenchmarkRequest[];
3737
} | null> = ref(null);
3838
39-
function pullRequestUrlAsHtml(reqType: BenchmarkRequestType): string {
40-
if (reqType.type === ReleaseCommit) {
41-
return "";
42-
}
43-
return `<a href="https://github.com/rust-lang/rust/pull/${reqType.pr}">#${reqType.pr}</a>`;
44-
}
45-
4639
function getCreatedAt(request: BenchmarkRequest): string {
4740
if (request.status.state == BenchmarkRequestCompleteStr) {
4841
return request.status.completedAt;

0 commit comments

Comments
 (0)