Skip to content

Commit

Permalink
chore: resolves linter warnings (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
peetzweg authored Feb 7, 2024
1 parent 4607273 commit 39b51d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ui/components/homepage/HelpBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function HelpBox(): React.ReactElement | null {
New to ink!? Check out the documentation!
</div>
<div className="text-sm font-semibold text-blue-500">
<a href="https://use.ink/" target="_blank" rel="noreferrer">
<a href="https://use.ink/" rel="noreferrer" target="_blank">
use.ink
</a>
</div>
Expand All @@ -21,7 +21,7 @@ export function HelpBox(): React.ReactElement | null {
Need some guidance? Find an example!
</div>
<div className="text-sm font-semibold text-blue-500">
<a href="https://github.com/paritytech/ink-examples" target="_blank" rel="noreferrer">
<a href="https://github.com/paritytech/ink-examples" rel="noreferrer" target="_blank">
github.com/paritytech/ink-examples
</a>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/ui/components/metadata/GetPatronMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Copyright 2023 @paritytech/contracts-ui authors & contributors
// Copyright 2022-2024 @paritytech/contracts-ui authors & contributors
// SPDX-License-Identifier: GPL-3.0-only

import { Buffer } from 'buffer';

function getPatronMetadata(field: string, hash: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/pages/ContractHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

import { Link } from 'react-router-dom';
import { CopyButton } from '../components/common/CopyButton';
import { ObservedBalance } from '../components/common/ObservedBalance';
import { displayDate, truncate } from 'lib/util';
import { UIContract } from 'types';
import { ObservedBalance } from '../components/common/ObservedBalance';

interface Props {
document: UIContract;
Expand Down

0 comments on commit 39b51d9

Please sign in to comment.