Update loading state

This commit is contained in:
Nate Kelley 2025-05-09 14:16:59 -06:00
parent 62d92c92ac
commit 6b46d218b8
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
4 changed files with 6 additions and 8 deletions

View File

@ -1,9 +1,9 @@
'use client';
import React, { useMemo, useState } from 'react';
import React, { useMemo } from 'react';
import isEmpty from 'lodash/isEmpty';
import { doesChartHaveValidAxis } from './helpers';
import { useMemoizedFn, useMount } from '@/hooks';
import { useMemoizedFn } from '@/hooks';
import {
NoChartData,
PreparingYourRequestLoader

View File

@ -1,5 +1,5 @@
import React, { useMemo } from 'react';
import {
import type {
BusterChartComponentProps,
BusterChartRenderComponentProps
} from './interfaces/chartComponentInterfaces';

View File

@ -232,9 +232,7 @@ const ChartMountedWrapper = ({ children }: { children: React.ReactNode }) => {
});
if (!isMounted) {
return (
<div className="to-bg-gradient-to-r to-border/15 h-full w-full bg-gradient-to-b from-transparent" />
);
return <div className="bg-transparent" />;
}
return children;

View File

@ -24,9 +24,9 @@ export const StylingAppColors: React.FC<{
return (
<div className="mt-3 flex flex-col space-y-2">
<div className={className}>
{/* <div className={className}>
<SelectColorApp selectedTab={selectedTab} onChange={setSelectedTab} />
</div>
</div> */}
<div className={cn(className, 'mb-12')}>
<AnimatePresence mode="wait" initial={false}>