Skip to content

Commit

Permalink
Remove commented code in SpawnStakingCheck.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Mar 1, 2024
1 parent a7a5b55 commit abdfa9a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frontend/components/Spawn/SpawnStakingCheck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ export const SpawnStakingCheck = ({ nextPage }: SpawnStakingCheckProps) => {
} else {
message.success('Service created successfully');

// await updateServiceState(service.hash).catch(() =>
// message.error('Failed to update service state'),
// );

setSpawnData((prev) => ({
...prev,
isStaking: true,
Expand All @@ -160,10 +156,6 @@ export const SpawnStakingCheck = ({ nextPage }: SpawnStakingCheckProps) => {
} else {
message.success('Service created successfully');

// await updateServiceState(service.hash).catch(() =>
// message.error('Failed to update service state'),
// );

setSpawnData((prev) => ({
...prev,
isStaking: false,
Expand Down

0 comments on commit abdfa9a

Please sign in to comment.