Skip to content

Commit fbdd5a8

Browse files
committed
fix biome error
1 parent 9b612b5 commit fbdd5a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

frontend/src/app/home/components/tradingview-advanced-chart.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ function TradingViewAdvancedChart({
2222
locale = "en",
2323
timezone = "UTC",
2424
}: Props) {
25-
const symbolMapRef = useRef<Record<string, string> | null>(defaultMap as Record<string, string>);
25+
const symbolMapRef = useRef<Record<string, string> | null>(
26+
defaultMap as Record<string, string>,
27+
);
2628

2729
useEffect(() => {
2830
if (!mappingUrl) return;
2931
let cancelled = false;
3032
fetch(mappingUrl)
3133
.then((res) => (res.ok ? res.json() : Promise.reject()))
3234
.then((json) => {
33-
if (!cancelled) symbolMapRef.current = (json || {}) as Record<string, string>;
35+
if (!cancelled)
36+
symbolMapRef.current = (json || {}) as Record<string, string>;
3437
})
3538
.catch(() => {});
3639
return () => {

0 commit comments

Comments
 (0)