Skip to content

Commit

Permalink
fix(web): lightmode colours
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Mar 7, 2024
1 parent 1e8d29b commit 67575a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/parts/BYOFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function BYOFooter() {
Upload beacon API{' '}
<a
href="https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Debug/getDebugForkChoice"
className="font-bold text-white"
className="font-bold text-stone-800 dark:text-stone-50"
onClick={(e) => e.stopPropagation()}
target="_blank"
rel="noreferrer"
Expand Down
5 changes: 4 additions & 1 deletion web/src/parts/Stage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useMemo } from 'react';
import { useEffect } from 'react';

import { ProcessedData } from '@app/types/graph';
import useFocus from '@contexts/focus';
Expand All @@ -14,6 +14,9 @@ export default function Stage() {
useEffect(() => {
if (byo) stop();
}, [byo, stop]);
useEffect(() => {
if (byoData) stop();
}, [byoData]);

const isLoading = !byo && results.every((result) => result.isLoading);
let data: { frames: ProcessedData[]; loadedIds: string[] } = {
Expand Down

0 comments on commit 67575a4

Please sign in to comment.