Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrastopoulos committed Jul 4, 2023
1 parent 5b0bf43 commit 60820ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions apps/dashboard/src/pages/dashboard/[id]/overview/currency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const CurrencyPage: NextPageWithLayout<Props> = () => {
<div className="modal-action">
<label
htmlFor="currency-modal"
className="btn-success btn"
className="btn btn-success"
onClick={() =>
changeCurrency(
guild,
Expand All @@ -73,18 +73,18 @@ const CurrencyPage: NextPageWithLayout<Props> = () => {
>
Update
</label>
<label htmlFor="currency-modal" className="btn-warning btn">
<label htmlFor="currency-modal" className="btn btn-warning">
Cancel
</label>
</div>
</div>
</div>

<label className="btn-success btn mr-5" htmlFor="currency-modal">
<label className="btn btn-success mr-5" htmlFor="currency-modal">
Edit
</label>
<button
className="btn-error btn"
className="btn btn-error"
onClick={() => changeCurrency(guild, DefaultCurrencySymbol)}
>
Reset
Expand Down
10 changes: 5 additions & 5 deletions apps/dashboard/src/pages/dashboard/[id]/overview/economy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const EconomyPage: NextPageWithLayout = () => {
))}
</select>
<button
className="glass btn text-base-content"
className="btn glass text-base-content"
onClick={() =>
setNewGuild({ ...newGuild, transactionLogId: null })
}
Expand All @@ -173,15 +173,15 @@ const EconomyPage: NextPageWithLayout = () => {
<DashCard title="Transactions" subtitle="View all transactions">
<div className="my-3 inline-flex items-center gap-3">
<button
className={`btn-secondary btn-xs btn ${
className={`btn btn-secondary btn-xs ${
page === 1 ? 'btn-disabled' : ''
}`}
onClick={() => setPage(page - 1)}
>
Previous Page
</button>
<button
className={`btn-primary btn-xs btn ${
className={`btn btn-primary btn-xs ${
page * limit >= count ? 'btn-disabled' : ''
}`}
onClick={() => setPage(page + 1)}
Expand Down Expand Up @@ -230,12 +230,12 @@ const EconomyPage: NextPageWithLayout = () => {
</div>
<div className="flex-none">
<button
className="btn-ghost btn-sm btn"
className="btn btn-ghost btn-sm"
onClick={() => setNewGuild(guild)}
>
Nay
</button>
<button className="btn-primary btn-sm btn" onClick={updateGuild}>
<button className="btn btn-primary btn-sm" onClick={updateGuild}>
Aye
</button>
</div>
Expand Down
6 changes: 3 additions & 3 deletions apps/dashboard/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ const Home: NextPageWithLayout = () => (
The best new discord economy bot
</h2>
<div className="flex gap-5">
<Link href="/api/invite" className="btn-primary btn">
<Link href="/api/invite" className="btn btn-primary">
Invite
<FaDiscord className="ml-2" size={30} />
</Link>
<Link href="/api/support" className="btn-secondary btn">
<Link href="/api/support" className="btn btn-secondary">
Server
</Link>
</div>
Expand Down Expand Up @@ -163,7 +163,7 @@ const Home: NextPageWithLayout = () => (
Economica is currently in{' '}
<strong className="text-underline">Open Beta</strong>
</h3>
<Link href="/api/invite" className="btn-primary btn">
<Link href="/api/invite" className="btn btn-primary">
Invite
<FaDiscord className="ml-2" size={30} />
</Link>
Expand Down

0 comments on commit 60820ae

Please sign in to comment.