Skip to content

Commit

Permalink
fix(console): darkmode broken in preview (#2458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin-Parvulescu committed Jul 4, 2023
1 parent 3004a75 commit 64203fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/console/app/routes/apps/$clientId/designer.beta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ import { CountdownCircleTimer } from 'react-countdown-circle-timer'
import { AddressURN } from '@proofzero/urns/address'
import danger from '~/images/danger.svg'
import { ToastType, toast } from '@proofzero/design-system/src/atoms/toast'
import classNames from 'classnames'

const LazyAuth = lazy(() =>
import('../../../web3/lazyAuth').then((module) => ({
Expand Down Expand Up @@ -741,7 +742,7 @@ const AuthPanel = ({
/>
</LazyAuth>
</Tab.Panel>
<Tab.Panel>
<Tab.Panel className={classNames({ dark })}>
<Authorization
userProfile={{
pfpURL: avatarURL,
Expand Down
1 change: 1 addition & 0 deletions apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@remix-run/react": "1.14.0",
"@tailwindcss/forms": "0.5.3",
"bcryptjs": "2.4.3",
"classnames": "2.3.2",
"connectkit": "1.4.0",
"cross-env": "7.0.3",
"ethers": "5.7.2",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5777,6 +5777,7 @@ __metadata:
babel-loader: 9.1.0
bcryptjs: 2.4.3
chromatic: 6.13.1
classnames: 2.3.2
connectkit: 1.4.0
cross-env: 7.0.3
env-cmd: 10.1.0
Expand Down

0 comments on commit 64203fa

Please sign in to comment.