Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcbef909

Browse files
committed
Fix storybook
1 parenta0995bf commitcbef909

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-
constfilter={
14-
user:{
15-
label:MockUserOwner.username,
16-
value:MockUserOwner.username,
17-
avatarUrl:MockUserOwner.avatar_url,
18-
},
13+
consttasksFilter={
14+
username:MockUserOwner.username,
1915
};
2016

2117
constmeta:Meta<typeofNavbarView>={
@@ -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)

[8]ページ先頭

©2009-2025 Movatter.jp