Skip to content

Commit cbef909

Browse files
committed
Fix storybook
1 parent a0995bf commit cbef909

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

site/src/modules/dashboard/Navbar/NavbarView.stories.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ import type { Meta, StoryObj } from "@storybook/react-vite";
1010
import { userEvent, within } from "storybook/test";
1111
import { NavbarView } from "./NavbarView";
1212

13-
const filter = {
14-
user: {
15-
label: MockUserOwner.username,
16-
value: MockUserOwner.username,
17-
avatarUrl: MockUserOwner.avatar_url,
18-
},
13+
const tasksFilter = {
14+
username: MockUserOwner.username,
1915
};
2016

2117
const meta: Meta<typeof NavbarView> = {
@@ -25,7 +21,7 @@ const meta: Meta<typeof NavbarView> = {
2521
layout: "fullscreen",
2622
queries: [
2723
{
28-
key: ["tasks", filter],
24+
key: ["tasks", tasksFilter],
2925
data: [],
3026
},
3127
],
@@ -105,7 +101,7 @@ export const IdleTasks: Story = {
105101
parameters: {
106102
queries: [
107103
{
108-
key: ["tasks", filter],
104+
key: ["tasks", tasksFilter],
109105
data: [
110106
{
111107
prompt: "Task 1",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy