Skip to content

Commit

Permalink
update dependencies and code format
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Jun 18, 2023
1 parent e819f9a commit 36869db
Show file tree
Hide file tree
Showing 6 changed files with 439 additions and 638 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### [8.2.0](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v8.2.0) (2023-06-19)
- update useElven (new useTokenTransfer hook available)
- update other dependancies

### [8.1.1](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v8.1.1) (2023-06-07)
- update useElven with fix for native auth login token handling
- update other dependenecies
Expand Down
4 changes: 3 additions & 1 deletion components/demo/GetLoginInfoDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export const GetLoginInfoDemo = () => {
<Text as="span" display="inline-block" fontWeight="bold">
loginToken:
</Text>
<Text wordBreak="break-word" textAlign="left">{loginToken || '-'}</Text>
<Text wordBreak="break-word" textAlign="left">
{loginToken || '-'}
</Text>
</CardItemWrapper>
<Tooltip label={signature}>
<CardItemWrapper>
Expand Down
4 changes: 1 addition & 3 deletions components/demo/SimpleDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ export const SimpleDemo = () => {
</Box>
)}
{loginMethod === LoginMethodsEnum.ledger && (
<Box>
Confirm it on the Ledger app and wait till it finishes.
</Box>
<Box>Confirm it on the Ledger app and wait till it finishes.</Box>
)}
<Box>You will get the transaction hash and link at the end.</Box>
<Spinner mt={6} color="dappTemplate.color2.darker" />
Expand Down
6 changes: 4 additions & 2 deletions components/tools/LedgerAccountsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const LedgerAccountsList: FC<LedgerAccountsListProps> = ({
if (!fetchedOnce.current) fetch();
return () => {
fetchedOnce.current = true;
}
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down Expand Up @@ -160,7 +160,9 @@ export const LedgerAccountsList: FC<LedgerAccountsListProps> = ({
</Box>
{loginToken && (
<Box mt={3}>
<Box fontWeight="bold" textAlign="center">Login token:</Box>
<Box fontWeight="bold" textAlign="center">
Login token:
</Box>
<Box wordBreak="break-word">{loginToken}</Box>
</Box>
)}
Expand Down
Loading

0 comments on commit 36869db

Please sign in to comment.