mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: address PR review feedback
- Change isLoading default to false in DismissedUpsellsContext to prevent flash of upsells - Fix import path inconsistency in ChatView.tsx (use @src/ instead of @/)
This commit is contained in:
parent
6af93241b6
commit
f10bbef333
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ import { Cloud } from "lucide-react"
|
|||
import { CloudUpsellDialog } from "@src/components/cloud/CloudUpsellDialog"
|
||||
import DismissibleUpsell from "../common/DismissibleUpsell"
|
||||
import { useCloudUpsell } from "@src/hooks/useCloudUpsell"
|
||||
import { useUpsellVisibility, UPSELL_IDS } from "@/hooks/useUpsellVisibility"
|
||||
import { useUpsellVisibility, UPSELL_IDS } from "@src/hooks/useUpsellVisibility"
|
||||
|
||||
export interface ChatViewProps {
|
||||
isHidden: boolean
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ interface DismissedUpsellsProviderProps {
|
|||
|
||||
export const DismissedUpsellsProvider: React.FC<DismissedUpsellsProviderProps> = ({ children }) => {
|
||||
const [dismissedUpsells, setDismissedUpsells] = useState<string[]>([])
|
||||
const [isLoading, setIsLoading] = useState(true)
|
||||
const [isLoading, setIsLoading] = useState(false)
|
||||
|
||||
// Request dismissed upsells from extension
|
||||
const refreshDismissedUpsells = useCallback(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue