Skip to content

Commit abd6253

Browse files
committed
make dashboard work
1 parent c883548 commit abd6253

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

apps/dashboard/src/app/dashboard/[serverId]/channels/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
SelectTrigger,
3232
SelectValue,
3333
} from '@answeroverflow/ui/ui/select';
34+
import { Separator } from '@answeroverflow/ui/ui/separator';
3435
import { Switch } from '@answeroverflow/ui/ui/switch';
3536
import {
3637
Tabs,
@@ -51,7 +52,6 @@ import {
5152
import * as React from 'react';
5253
import { toast } from 'react-toastify';
5354
import { useDashboardContext } from '../components/dashboard-context';
54-
import { Separator } from '@answeroverflow/ui/ui/separator';
5555

5656
function ChannelIcon({
5757
type,

apps/dashboard/src/app/dashboard/[serverId]/settings/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use client';
22
import { ServerWithFlags } from '@answeroverflow/core/zod';
3+
import { BlueLink } from '@answeroverflow/ui/ui/blue-link';
34
import {
45
Card,
56
CardContent,
@@ -16,7 +17,6 @@ import { useDashboardContext } from '../components/dashboard-context';
1617
import { ConfigureDomainCard } from '../components/domains';
1718
import { TierAccessOnly } from '../components/tier-access-only';
1819
import { CurrentPlanCard } from './components';
19-
import { BlueLink } from '@answeroverflow/ui/ui/blue-link';
2020

2121
interface ToggleServerFlagProps {
2222
title: React.ReactNode;

apps/dashboard/tailwind.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
content: [
77
...data.content,
88
'../../packages/ui/src/**/*.{js,ts,jsx,tsx}', // Transpile breaks without this for tailwind styles
9-
'./node_modules/@tremor/**/*.{js,ts,jsx,tsx}', // Tremor module
9+
'../../node_modules/@tremor/**/*.{js,ts,jsx,tsx}', // Tremor module
1010
],
1111
theme: {
1212
...data.theme,

bun.lockb

-496 Bytes
Binary file not shown.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
},
3535
"overrides": {
3636
"@types/react": "npm:types-react@rc",
37-
"@types/react-dom": "npm:types-react-dom@rc"
37+
"@types/react-dom": "npm:types-react-dom@rc",
38+
"recharts": "2.13.0",
39+
"react-is": "19.0.0-rc-6f23540c7d-20240528"
3840
},
3941
"packageManager": "bun@1.1.29"
4042
}

packages/core/scripts/wipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { clearDatabase } from '../src/utils';
21
import { Cache } from '../src/cache';
32
import * as Search from '../src/search';
3+
import { clearDatabase } from '../src/utils';
44
void (async () => {
55
await clearDatabase();
66
console.log('Wiping Redis...');

0 commit comments

Comments
 (0)