about summary refs log tree commit diff
path: root/src/components/Layout
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-14 01:12:31 +0300
committerGitHub <noreply@github.com>2025-08-14 01:12:31 +0300
commitb2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch)
treeacdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/components/Layout
parent275fece3e3de0bd09377a33813bcfe35e352874b (diff)
downloadvoidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst
Add displayName to contexts (#8814)
Diffstat (limited to 'src/components/Layout')
-rw-r--r--src/components/Layout/Header/index.tsx1
-rw-r--r--src/components/Layout/context.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Layout/Header/index.tsx b/src/components/Layout/Header/index.tsx
index d68f4bd1d..1a049a696 100644
--- a/src/components/Layout/Header/index.tsx
+++ b/src/components/Layout/Header/index.tsx
@@ -77,6 +77,7 @@ export function Outer({
 }
 
 const AlignmentContext = createContext<'platform' | 'left'>('platform')
+AlignmentContext.displayName = 'AlignmentContext'
 
 export function Content({
   children,
diff --git a/src/components/Layout/context.ts b/src/components/Layout/context.ts
index 8e0c5445e..f3ee7d4e5 100644
--- a/src/components/Layout/context.ts
+++ b/src/components/Layout/context.ts
@@ -3,3 +3,4 @@ import React from 'react'
 export const ScrollbarOffsetContext = React.createContext({
   isWithinOffsetView: false,
 })
+ScrollbarOffsetContext.displayName = 'ScrollbarOffsetContext'