Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Oct 25, 2023
1 parent dc8efc1 commit b203dbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/components/automation/Showcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export const Showcase = () => {
<div>
<p className="text-xl">
Since smart contracts cannot initate transactions without the help of an externally owned account, a service
like chainlink automation is a good option for executing transactions via time based or conditional logic
triggers.
like chainlink automation is necessary for reliably executing transactions via time based or conditional
logic triggers.
</p>

<p className="text-xl">
Expand Down
6 changes: 3 additions & 3 deletions packages/nextjs/components/price-feeds/FeedRegistry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const FeedRegistryDisplay = () => {
const [baseAssetAddress, setBaseAssetAddress] = useState("");

useEffect(() => {
setBaseAssetAddress(BASE_OPTIONS[0].address);
setBaseAssetAddress(BASE_ASSET_OPTIONS[0].address);
}, []);

const { data: description } = useContractRead({
Expand Down Expand Up @@ -116,7 +116,7 @@ export const FeedRegistryDisplay = () => {
</tr>
</thead>
<tbody>
{BASE_OPTIONS.map((option, i) => (
{BASE_ASSET_OPTIONS.map((option, i) => (
<tr key={i}>
<td>{option.symbol}</td>
<td>{option.address}</td>
Expand All @@ -135,7 +135,7 @@ export const FeedRegistryDisplay = () => {
);
};

const BASE_OPTIONS = [
const BASE_ASSET_OPTIONS = [
{ symbol: "BTC", address: "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB" },
{ symbol: "ETH", address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
{ symbol: "MATIC", address: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0" },
Expand Down

0 comments on commit b203dbe

Please sign in to comment.