Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiwat10 committed Dec 18, 2024
1 parent 8579659 commit 1742fdf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { Analytics } from "@vercel/analytics/react";
function App() {
const [isMobile, setIsMobile] = useState(false);
const [farmCoinAssetID, setFarmCoinAssetId] = useState<string | null>(
FARM_COIN_ASSET_ID
FARM_COIN_ASSET_ID,
);
const { isConnected } = useIsConnected();
const { wallet } = useWallet();
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/modals/HarvestModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { Modals } from "../../constants";
import { useWallet } from "@fuels/react";
import { Address, Provider } from "fuels";
import { usePaymaster } from "../../hooks/usePaymaster";
import { toast } from 'react-hot-toast'
import { toast } from "react-hot-toast";

interface HarvestProps {
contract: FarmContract | null;
Expand Down Expand Up @@ -118,7 +118,9 @@ export default function HarvestModal({
"Gas station failed, trying direct transaction...",
error,
);
toast.error("Failed to harvest the seed :( Retrying with alternate method...");
toast.error(
"Failed to harvest the seed :( Retrying with alternate method...",
);
setStatus("retrying");
await harvestWithoutGasStation();
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/modals/PlantModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function PlantModal({
);
setStatus("retrying");
toast.error(
"Failed to plant the seed :( Retrying with alternate method..."
"Failed to plant the seed :( Retrying with alternate method...",
);
await plantWithoutGasStation();
}
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #262626;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ createRoot(document.getElementById("root")!).render(
<App />
</FuelProvider>
</QueryClientProvider>{" "}
</StrictMode>
</StrictMode>,
);

0 comments on commit 1742fdf

Please sign in to comment.