Skip to content

Commit

Permalink
fix: Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
flozia committed Nov 21, 2024
1 parent 70f56c9 commit aabbc62
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ const DashboardWrapper = (props: DashboardWrapperProps) => {
session={mockedSession}
nonce=""
countryCode={props.countryCode}
enabledFeatureFlags={props.enabledFeatureFlags ?? []}
>
<DashboardEl
user={user}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ export const AutomaticRemoveViewStory: Story = {
name: "1d. Automatically resolve brokers",
render: () => {
return (
<Shell l10n={getL10n()} session={mockedSession} nonce="" countryCode="us">
<Shell
l10n={getL10n()}
session={mockedSession}
nonce=""
countryCode="us"
enabledFeatureFlags={[]}
>
<AutomaticRemoveView
data={{
countryCode: "us",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ export const ManualRemoveViewStory: Story = {
name: "1c. Manually resolve brokers",
render: () => {
return (
<Shell l10n={getL10n()} session={mockedSession} nonce="" countryCode="us">
<Shell
l10n={getL10n()}
session={mockedSession}
nonce=""
countryCode="us"
enabledFeatureFlags={[]}
>
<ManualRemoveView
scanData={mockedScanData}
breaches={mockedBreaches}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ export const StartFreeScanViewStory: Story = {
name: "1a. Free scan",
render: () => {
return (
<Shell l10n={getL10n()} session={mockedSession} nonce="" countryCode="us">
<Shell
l10n={getL10n()}
session={mockedSession}
nonce=""
countryCode="us"
enabledFeatureFlags={[]}
>
<StartFreeScanView
data={{
countryCode: "us",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ const ViewWrapper = (props: ViewWrapperProps) => {
const l10n = getL10n();

return (
<Shell l10n={l10n} session={mockedSession} nonce="" countryCode="us">
<Shell
l10n={l10n}
session={mockedSession}
nonce=""
countryCode="us"
enabledFeatureFlags={[]}
>
<ViewDataBrokersView
data={{
latestScanData: scanData,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ const mockedSession = {

const WelcomeToPlusViewWrapper = (props: { brokerScanCount: number }) => {
return (
<Shell l10n={l10n} session={mockedSession} nonce="" countryCode="us">
<Shell
l10n={l10n}
session={mockedSession}
nonce=""
countryCode="us"
enabledFeatureFlags={[]}
>
<WelcomeToPlusView
data={{
countryCode: "us",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const HighRiskBreachWrapper = (props: {
session={mockedSession}
nonce=""
countryCode={data.countryCode}
enabledFeatureFlags={[]}
>
<HighRiskBreachLayout
subscriberEmails={[]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ const LeakedPasswordsWrapper = (props: {
}

return (
<Shell l10n={getL10n()} session={mockedSession} nonce="" countryCode="nl">
<Shell
l10n={getL10n()}
session={mockedSession}
nonce=""
countryCode="nl"
enabledFeatureFlags={[]}
>
<LeakedPasswordsLayout
subscriberEmails={[]}
type={props.type}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ const SecurityRecommendationsWrapper = (props: {
type: SecurityRecommendationTypes;
}) => {
return (
<Shell l10n={getL10n()} session={mockedSession} nonce="" countryCode="nl">
<Shell
l10n={getL10n()}
session={mockedSession}
nonce=""
countryCode="nl"
enabledFeatureFlags={[]}
>
<SecurityRecommendationsLayout
subscriberEmails={[]}
type={props.type}
Expand Down
Loading

0 comments on commit aabbc62

Please sign in to comment.