Skip to content

Commit

Permalink
feat(suiteheader): Minor changes in a story that is commented out. Ru…
Browse files Browse the repository at this point in the history
…nning prettier.
  • Loading branch information
Marcelo Blechner committed Nov 5, 2020
1 parent 10abdc2 commit a27d2b1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/components/SuiteHeader/SuiteHeader.story.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from 'react';
import React from 'react';
import { text, object, boolean, select } from '@storybook/addon-knobs';
import { Switcher24 } from '@carbon/icons-react';
import Chip from '@carbon/icons-react/lib/chip/24';
Expand Down Expand Up @@ -232,13 +232,13 @@ export const HeaderWithSurveyNotification = () => {
export const HeaderWithHook = () => {
const StatefulExample = () => {
const [data, isLoading, error, refreshData] = useSuiteHeaderData({
baseApiUrl: 'http://localhost:3001/internal',
// baseApiUrl: 'http://localhost:3001/internal',
domain: 'mydomain.com',
// isTest: true,
isTest: true,
surveyConfig: {
id: 'suite',
delayIntervalDays: -1,
frequencyDays: -1,
delayIntervalDays: 30,
frequencyDays: 90,
},
lang: 'en',
});
Expand All @@ -251,9 +251,6 @@ export const HeaderWithHook = () => {
username={data.username}
routes={data.routes}
applications={data.applications}
sideNavProps={{
links: sideNavLinks,
}}
i18n={data.i18n}
surveyData={surveyData}
/>
Expand Down

0 comments on commit a27d2b1

Please sign in to comment.