Skip to content

Commit

Permalink
Improve messaging and fav icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Hannigan committed Aug 23, 2021
1 parent abb0d68 commit 38a727c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/fruit.png
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/fruit.png" />
<link rel="shortcut icon" href="%PUBLIC_URL%/sunflower_icon.png" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
Expand Down
8 changes: 4 additions & 4 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"short_name": "Starter Kit",
"name": "Dapp University Starter Kit",
"short_name": "Sunflower",
"name": "Sunflower Farms",
"icons": [
{
"src": "favicon.ico",
"src": "sunflower_icon.png",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
"type": "image/png"
}
],
"start_url": ".",
Expand Down
Binary file added public/sunflower_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/dapp/components/farm/Farm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export const Farm: React.FC= () => {
if (isFarming && !machineState.context.blockChain.isUnsaved()) {
const { farm, balance: currentBalance } = await machineState.context.blockChain.getAccount()
setLand(farm)
console.log({ currentBalance })
setBalance(new Decimal(currentBalance))
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/dapp/components/farm/Tour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ const steps: ReactourStep[] = [
stepInteraction: false,
content: () => (
<div>
Don't forget to save your farm before leaving the game.
Don't forget to save your farm within 25 minutes of your first action.

Otherwise the blockchain will not be able to validate your farm.

<br />

Expand Down

0 comments on commit 38a727c

Please sign in to comment.