Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyAkentiev committed May 23, 2024
1 parent 2fc2d1c commit 6ee6973
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion anyns-frontend/components/accountdataform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function AccountDataForm({
handleReverseLoookup,
}) {
const [isProcessing, setIsProcessing] = useState(false)
const [anyName, setAnyName] = useState()
const [anyName, setAnyName] = useState('')

const [contentHash, setContentHash] = useState('')
const [spaceHash, setSpaceHash] = useState('')
Expand Down
34 changes: 16 additions & 18 deletions anyns-frontend/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,25 @@ export default function ApiPage() {
provide similar functionality.
</p>

<p className="mb-4">
<h2 className="font-bold">Key outcomes</h2>
<ol>
<li>
✅︎ References and links to users' data are immune to censorship.
</li>
<li>
✅︎ Users can leverage Anytype's user-friendly Account Abstraction
service.
</li>
<li>
✅︎ In the event that Anytype discontinues this service or tries
to censor, users can seamlessly transition to an alternative
Account Abstraction service or engage directly with smart
contracts.
</li>
</ol>
</p>
<h2 className="font-bold">Key outcomes</h2>
<ol>
<li>
✅︎ References and links to users' data are immune to censorship.
</li>
<li>
✅︎ Users can leverage Anytype's user-friendly Account Abstraction
service.
</li>
<li>
✅︎ In the event that Anytype discontinues this service or tries to
censor, users can seamlessly transition to an alternative Account
Abstraction service or engage directly with smart contracts.
</li>
</ol>
</div>

<hr />

<div>
<div className="mx-auto p-2 text-l">
<h2>any-ns contracts:</h2>
Expand Down
2 changes: 1 addition & 1 deletion anyns-frontend/pages/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Admin() {
const [modalTitle, setModalTitle] = useState('Name availability')
const [modalText, setModalText] = useState('Name is available!')

const [setIsProcessing] = useState(false)
const [isProcessing, setIsProcessing] = useState(false)

useEffect(() => {
const connectWalletOnPageLoad = async () => {
Expand Down

0 comments on commit 6ee6973

Please sign in to comment.