Skip to content

Commit

Permalink
chore: Update .prettierignore and .storybook configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshilov committed Sep 11, 2024
1 parent 4c37358 commit 8a01ad2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
.yarnrc.yml
.next
/.nx/cache
/.nx/workspace-data
/.nx/workspace-data
pnpm-lock.yaml
4 changes: 2 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const config: StorybookConfig = {
docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
reactDocgen: 'react-docgen-typescript',
},
};

export default config;
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const preview: Preview = {
},
},

tags: ['autodocs']
tags: ['autodocs'],
};

export default preview;
1 change: 0 additions & 1 deletion src/components/pages/main-page/wallet-block.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use client';
import { useMemo } from 'react';
import Image from 'next/image';
import Link from 'next/link';
import { useTranslations } from 'next-intl';
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/wallet-page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { Fragment, useMemo } from 'react';
import { Fragment } from 'react';
import Image from 'next/image';
import Link from 'next/link';
import { useTranslations } from 'next-intl';
Expand Down
8 changes: 1 addition & 7 deletions src/components/ui/header-desktop.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
'use client';
import {
Fragment,
PropsWithChildren,
useCallback,
useEffect,
useState,
} from 'react';
import { PropsWithChildren, useCallback, useEffect, useState } from 'react';
import clsx from 'clsx';
import { useTranslations } from 'next-intl';
import { LocaleLink } from '@/navigation';
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function ModalOverlay({ onClose }: { onClose: () => void }) {
return (
<div
role="none"
className="bg-islamic-modal-overlay animate-reveal fixed inset-0 transform-gpu backdrop-blur"
className="bg-islamic-modal-overlay fixed inset-0 transform-gpu animate-reveal backdrop-blur"
onClick={onClose}
onKeyDown={handleKeydown}
/>
Expand Down

0 comments on commit 8a01ad2

Please sign in to comment.