Skip to content

Commit a46c19d

Browse files
committed
fix: minor fixes to keep coderabbit happy
1 parent e1a0f5f commit a46c19d

File tree

5 files changed

+10
-28
lines changed

5 files changed

+10
-28
lines changed

scripts/cancel-all-netlify-builds.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ function cancelSiteDeploy() #siteId
88
do
99
local name=$(jq -r .name <<< $build)
1010
local branch=$(jq -r .branch <<< $build)
11-
if ! [[ "$branch" =~ ^dependabot/ || "$branch" =~ ^renovate/ ]]; then
12-
continue;
11+
if [[ "$branch" =~ ^dependabot/ || "$branch" =~ ^renovate/ ]]; then
12+
echo "Cancelling build for $name $branch"
13+
netlify api cancelSiteDeploy -d '{ "deploy_id": "'$(jq -r .id <<< $build)'"}' > /dev/null
1314
fi
14-
echo "Cancelling build for $name $branch"
15-
netlify api cancelSiteDeploy -d '{ "deploy_id": "'$(jq -r .id <<< $build)'"}' > /dev/null
1615
done
1716
}
1817

web-devtools/src/app/(main)/ruler/SelectArbitrable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const SelectArbitrable: React.FC = () => {
135135

136136
const [[chainId, address]] = Object.entries(klerosCoreAddress);
137137
if (chainId !== DEFAULT_CHAIN.toString()) {
138-
throw new Error(`Kleros Core is not deployed on chain ${chainId}`);
138+
console.error(`Kleros Core is not deployed on chain ${chainId}`);
139139
}
140140

141141
return (

web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
},
7979
"dependencies": {
8080
"@cyntler/react-doc-viewer": "^1.17.0",
81-
"@kleros/kleros-app": "^2.0.1",
81+
"@kleros/kleros-app": "^2.0.2",
8282
"@kleros/kleros-sdk": "workspace:^",
8383
"@kleros/kleros-v2-contracts": "workspace:^",
8484
"@kleros/ui-components-library": "^2.19.0",

web/src/pages/Home/TopJurors/Header/MobileHeader.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from "react";
22
import styled, { css } from "styled-components";
33

4-
import { landscapeStyle } from "styles/landscapeStyle";
5-
64
import { useToggle } from "react-use";
75

6+
import { landscapeStyle } from "styles/landscapeStyle";
7+
88
import HowItWorks from "components/HowItWorks";
99
import JurorLevels from "components/Popup/MiniGuides/JurorLevels";
1010

@@ -14,7 +14,7 @@ const Container = styled.div`
1414
width: 100%;
1515
background-color: ${({ theme }) => theme.lightBlue};
1616
padding: 16px;
17-
border 1px solid ${({ theme }) => theme.stroke};
17+
border: 1px solid ${({ theme }) => theme.stroke};
1818
border-top-left-radius: 3px;
1919
border-top-right-radius: 3px;
2020
border-bottom: none;

yarn.lock

+2-19
Original file line numberDiff line numberDiff line change
@@ -5370,24 +5370,7 @@ __metadata:
53705370
languageName: node
53715371
linkType: hard
53725372

5373-
"@kleros/kleros-app@npm:^2.0.1":
5374-
version: 2.0.1
5375-
resolution: "@kleros/kleros-app@npm:2.0.1"
5376-
dependencies:
5377-
jose: "npm:^5.9.6"
5378-
peerDependencies:
5379-
"@tanstack/react-query": ^5.59.20
5380-
graphql: ^16.9.0
5381-
graphql-request: ^7.1.2
5382-
react: ^18.3.1
5383-
react-dom: ^18.3.1
5384-
viem: ^2.21.42
5385-
wagmi: ^2.13.0
5386-
checksum: 10/a193e49fe82738eaa7df3b82857fd74a5407e6ed166edeacd2352bbd149a49ea3cfde98f130fe0473f006761260cbf2475bc4fa138ad05650540eec43b9755d1
5387-
languageName: node
5388-
linkType: hard
5389-
5390-
"@kleros/kleros-app@workspace:kleros-app":
5373+
"@kleros/kleros-app@npm:^2.0.2, @kleros/kleros-app@workspace:kleros-app":
53915374
version: 0.0.0-use.local
53925375
resolution: "@kleros/kleros-app@workspace:kleros-app"
53935376
dependencies:
@@ -5621,7 +5604,7 @@ __metadata:
56215604
"@eslint/js": "npm:^9.15.0"
56225605
"@graphql-codegen/cli": "npm:^5.0.3"
56235606
"@graphql-codegen/client-preset": "npm:^4.5.1"
5624-
"@kleros/kleros-app": "npm:^2.0.1"
5607+
"@kleros/kleros-app": "npm:^2.0.2"
56255608
"@kleros/kleros-sdk": "workspace:^"
56265609
"@kleros/kleros-v2-contracts": "workspace:^"
56275610
"@kleros/kleros-v2-eslint-config": "workspace:^"

0 commit comments

Comments
 (0)