Skip to content

Commit

Permalink
fix: minor fixes to keep coderabbit happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Dec 20, 2024
1 parent e1a0f5f commit a46c19d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 28 deletions.
7 changes: 3 additions & 4 deletions scripts/cancel-all-netlify-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ function cancelSiteDeploy() #siteId
do
local name=$(jq -r .name <<< $build)
local branch=$(jq -r .branch <<< $build)
if ! [[ "$branch" =~ ^dependabot/ || "$branch" =~ ^renovate/ ]]; then
continue;
if [[ "$branch" =~ ^dependabot/ || "$branch" =~ ^renovate/ ]]; then
echo "Cancelling build for $name $branch"
netlify api cancelSiteDeploy -d '{ "deploy_id": "'$(jq -r .id <<< $build)'"}' > /dev/null
fi
echo "Cancelling build for $name $branch"
netlify api cancelSiteDeploy -d '{ "deploy_id": "'$(jq -r .id <<< $build)'"}' > /dev/null
done
}

Expand Down
2 changes: 1 addition & 1 deletion web-devtools/src/app/(main)/ruler/SelectArbitrable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const SelectArbitrable: React.FC = () => {

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

return (
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"dependencies": {
"@cyntler/react-doc-viewer": "^1.17.0",
"@kleros/kleros-app": "^2.0.1",
"@kleros/kleros-app": "^2.0.2",
"@kleros/kleros-sdk": "workspace:^",
"@kleros/kleros-v2-contracts": "workspace:^",
"@kleros/ui-components-library": "^2.19.0",
Expand Down
6 changes: 3 additions & 3 deletions web/src/pages/Home/TopJurors/Header/MobileHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from "react";
import styled, { css } from "styled-components";

import { landscapeStyle } from "styles/landscapeStyle";

import { useToggle } from "react-use";

import { landscapeStyle } from "styles/landscapeStyle";

import HowItWorks from "components/HowItWorks";
import JurorLevels from "components/Popup/MiniGuides/JurorLevels";

Expand All @@ -14,7 +14,7 @@ const Container = styled.div`
width: 100%;
background-color: ${({ theme }) => theme.lightBlue};
padding: 16px;
border 1px solid ${({ theme }) => theme.stroke};
border: 1px solid ${({ theme }) => theme.stroke};
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom: none;
Expand Down
21 changes: 2 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5370,24 +5370,7 @@ __metadata:
languageName: node
linkType: hard

"@kleros/kleros-app@npm:^2.0.1":
version: 2.0.1
resolution: "@kleros/kleros-app@npm:2.0.1"
dependencies:
jose: "npm:^5.9.6"
peerDependencies:
"@tanstack/react-query": ^5.59.20
graphql: ^16.9.0
graphql-request: ^7.1.2
react: ^18.3.1
react-dom: ^18.3.1
viem: ^2.21.42
wagmi: ^2.13.0
checksum: 10/a193e49fe82738eaa7df3b82857fd74a5407e6ed166edeacd2352bbd149a49ea3cfde98f130fe0473f006761260cbf2475bc4fa138ad05650540eec43b9755d1
languageName: node
linkType: hard

"@kleros/kleros-app@workspace:kleros-app":
"@kleros/kleros-app@npm:^2.0.2, @kleros/kleros-app@workspace:kleros-app":
version: 0.0.0-use.local
resolution: "@kleros/kleros-app@workspace:kleros-app"
dependencies:
Expand Down Expand Up @@ -5621,7 +5604,7 @@ __metadata:
"@eslint/js": "npm:^9.15.0"
"@graphql-codegen/cli": "npm:^5.0.3"
"@graphql-codegen/client-preset": "npm:^4.5.1"
"@kleros/kleros-app": "npm:^2.0.1"
"@kleros/kleros-app": "npm:^2.0.2"
"@kleros/kleros-sdk": "workspace:^"
"@kleros/kleros-v2-contracts": "workspace:^"
"@kleros/kleros-v2-eslint-config": "workspace:^"
Expand Down

0 comments on commit a46c19d

Please sign in to comment.