Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
updating dockerfile to use yarn v3
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Jul 19, 2023
1 parent 25e8600 commit 4a84ca3
Showing 6 changed files with 5,152 additions and 3,716 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -3,7 +3,10 @@ FROM node:18-alpine AS builder
RUN apk --no-cache add git
WORKDIR /app
COPY . .
RUN yarn install
RUN ls -al /app
RUN corepack enable
RUN yarn set version stable
RUN yarn install --frozen-lockfile
RUN ls -al

ARG CONFIG_SERVER_HOST
2 changes: 1 addition & 1 deletion packages/sygma-ui/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"@hookform/resolvers": "^2.8.4",
"@mui/icons-material": "^5.2.1",
"@mui/lab": "^5.0.0-alpha.57",
"@mui/material": "^5.2.1",
"@mui/material": "5.2.1",
"@mui/styled-engine-sc": "^5.1.0",
"@sentry/react": "^6.19.6",
"@use-it/interval": "^1.0.0",
9 changes: 4 additions & 5 deletions packages/sygma-ui/src/modules/AboutDrawer/AboutDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import { CustomDrawer } from "../../components";
import Typography from "@mui/material/Typography";
import ButtonUnstyled from "@mui/base/ButtonUnstyled";
import { Typography, Button } from '@mui/material'
import { useStyles } from "./styles";

interface IAboutDrawerProps {
@@ -31,15 +30,15 @@ const AboutDrawer: React.FC<IAboutDrawerProps> = ({
the source chain.
</Typography>
<section className={classes.buttons}>
<ButtonUnstyled onClick={() => close()}>OK</ButtonUnstyled>
<Button onClick={() => close()}>OK</Button>
<a
rel="noopener noreferrer"
href={process.env.REACT_APP_SUPPORT_URL}
target="_blank"
>
<ButtonUnstyled>
<Button>
Ask a question on {process.env.REACT_APP_SUPPORT_SERVICE}
</ButtonUnstyled>
</Button>
</a>
</section>
</CustomDrawer>
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from "react";
import { CustomDrawer } from "../../components";
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";
import ButtonUnstyled from "@mui/base/ButtonUnstyled";
import { Typography, Button } from '@mui/material'
import { shortenAddress } from "../../utils/Helpers";
import { useStyles } from "./styles";

@@ -83,9 +81,9 @@ const PreflightModalTransfer: React.FC<IPreflightModalTransferProps> = ({
<Button onClick={start} className={classes.startButton} size="large">
Start Transfer
</Button>
<ButtonUnstyled onClick={close} className={classes.buttonBack}>
<Button onClick={close} className={classes.buttonBack}>
Back
</ButtonUnstyled>
</Button>
</div>
</CustomDrawer>
);
Loading

0 comments on commit 4a84ca3

Please sign in to comment.