Skip to content

Commit

Permalink
Merge pull request #330 from pendulum-chain/remove-t-and-c-dialog
Browse files Browse the repository at this point in the history
Remove T&C dialog
  • Loading branch information
ebma authored Dec 16, 2024
2 parents 50872e2 + fc0d870 commit a4c7b7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion postcss.config.cjs → postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
Expand Down
2 changes: 0 additions & 2 deletions src/pages/swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { useMainProcess } from '../../hooks/useMainProcess';
import { ProgressPage } from '../progress';
import { SuccessPage } from '../success';
import { FailurePage } from '../failure';
import { TermsAndConditions } from '../../components/TermsAndConditions';
import { useInputTokenBalance } from '../../hooks/useInputTokenBalance';
import { UserBalance } from '../../components/UserBalance';
import { useEventsContext } from '../../contexts/events';
Expand Down Expand Up @@ -320,7 +319,6 @@ export const SwapPage = () => {

const modals = (
<>
<TermsAndConditions />
<PoolSelectorModal
open={isTokenSelectModalVisible}
onSelect={(token) => {
Expand Down
6 changes: 4 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import daisyui from 'daisyui';

const colors = {
whiteAlpha: {
50: 'rgba(255, 255, 255, 0.04)',
Expand Down Expand Up @@ -25,15 +27,15 @@ const colors = {
},
};
// eslint-disable-next-line no-undef
module.exports = {
export default {
darkMode: 'class',
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'node_modules/daisyui/dist/**/*.js',
'node_modules/react-daisyui/dist/**/*.js',
],
// eslint-disable-next-line no-undef
plugins: [require('daisyui')],
plugins: [daisyui],
themes: ['pendulum', 'amplitude'],
theme: {
extend: {
Expand Down

0 comments on commit a4c7b7a

Please sign in to comment.