mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-06 08:16:03 +00:00
fix: resolve biome lint and formatting errors
- Enable Tailwind CSS directives in biome config - Update biome schema to 2.4.6 - Fix useless fragment in memory-graph.tsx - Apply formatting fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f402e1adeb
commit
7f4e1bcad2
4 changed files with 19 additions and 10 deletions
|
|
@ -374,7 +374,9 @@ export function MemoriesGrid({
|
|||
>
|
||||
All
|
||||
{facetsData?.total !== undefined && (
|
||||
<span className="ml-1 text-[#737373]">({facetsData.total})</span>
|
||||
<span className="ml-1 text-[#737373]">
|
||||
({facetsData.total})
|
||||
</span>
|
||||
)}
|
||||
</Button>
|
||||
{facetsData?.facets.map((facet: DocumentFacet) => (
|
||||
|
|
@ -430,7 +432,9 @@ export function MemoriesGrid({
|
|||
</button>
|
||||
</>
|
||||
) : (
|
||||
<p className={cn(dmSansClassName(), "text-xs text-[#737373]")}>
|
||||
<p
|
||||
className={cn(dmSansClassName(), "text-xs text-[#737373]")}
|
||||
>
|
||||
Select one or more documents
|
||||
</p>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
||||
"css": {
|
||||
"parser": {
|
||||
"tailwindDirectives": true
|
||||
}
|
||||
},
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
|
|
|||
|
|
@ -409,9 +409,9 @@ export const MemoryGraph = ({
|
|||
</AnimatePresence>
|
||||
|
||||
{/* Show welcome screen when no memories exist */}
|
||||
{!isLoading && (!data || !nodes.some((n) => n.type === "document")) && (
|
||||
<>{children}</>
|
||||
)}
|
||||
{!isLoading &&
|
||||
(!data || !nodes.some((n) => n.type === "document")) &&
|
||||
children}
|
||||
|
||||
{/* Graph container */}
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue