Skip to content

Commit

Permalink
fix: undefined namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n committed Apr 23, 2024
1 parent c8dcb7d commit 8293993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Sidebar() {

const messages = data?.messages.filter((m) => !builtinMessages.has(m.url)) ?? []
const queries = data?.queries.filter((q) => !builtinQueries.has(q.url)) ?? []
const { namespace } = data!
const namespace = data?.namespace ?? ''

return (
<aside className="flex flex-col justify-between px-3 pt-4 pb-2 min-w-64 w-64 overflow-y-auto border-r text-sm">
Expand Down

0 comments on commit 8293993

Please sign in to comment.