import { LOCAL_STORAGE_KEYS } from 'common' import { X } from 'lucide-react' import { Button, cn } from 'ui' import { Markdown } from '../Markdown' import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage' import { DOCS_URL } from '@/lib/constants' interface LinterPageFooterProps { isLoading: boolean isRefetching: boolean refetch: () => void hideDbInspectCTA?: boolean } export const LinterPageFooter = ({ isLoading, isRefetching, refetch, hideDbInspectCTA, }: LinterPageFooterProps) => { const [showBottomSection, setShowBottomSection] = useLocalStorageQuery( LOCAL_STORAGE_KEYS.LINTER_SHOW_FOOTER, true ) if (!showBottomSection) { return null } return (
Reset suggestions
Consider resetting the analysis after making any changes
How are these suggestions generated?
These suggestions use splinter (Briven Postgres LINTER) .
Inspect your database for potential issues