mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): fix storybook for agent row with port forward button (#12247)
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
} from "testHelpers/entities";
|
||||
import { AgentRow, LineWithID } from "./AgentRow";
|
||||
import { ProxyContext, getPreferredProxy } from "contexts/ProxyContext";
|
||||
import { withDashboardProvider } from "testHelpers/storybook";
|
||||
|
||||
const defaultAgentMetadata = [
|
||||
{
|
||||
@@ -113,6 +114,7 @@ const meta: Meta<typeof AgentRow> = {
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
component: AgentRow,
|
||||
args: {
|
||||
storybookLogs,
|
||||
@@ -147,6 +149,7 @@ const meta: Meta<typeof AgentRow> = {
|
||||
<Story />
|
||||
</ProxyContext.Provider>
|
||||
),
|
||||
withDashboardProvider,
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user