Skip to content

Commit 385c4a3

Browse files
committed
export react button using arrow functions per docs
1 parent ff5fbce commit 385c4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/snippets/AddLitChainButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22

3-
export default function AddLitChainButton() {
3+
export const AddLitChainButton = () => {
44
const addNetwork = () => {
55
const params = [
66
{

0 commit comments

Comments
 (0)