Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add options page #158

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update logo
  • Loading branch information
ayoung19 committed Aug 6, 2023
commit 5b0609a06398418935940c1b4fd557815fc04698
4 changes: 2 additions & 2 deletions src/pages/options/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {useState} from 'react';

const ALL_PAGE_IDS = ['settings'] as const;

type PageId = typeof ALL_PAGE_IDS[number];
type PageId = (typeof ALL_PAGE_IDS)[number];

const pageIdToComponent = (pageId: PageId) => {
switch (pageId) {
Expand Down Expand Up @@ -57,7 +57,7 @@ export const App = () => {
header={
<Header height={60} p="xs">
<Group pl="md">
<Image width={160} src="https://csfloat.com/assets/full_logo.png" alt="CSFloat Logo" />
<Image width={130} src="https://csfloat.com/assets/n_full_logo.png" alt="CSFloat Logo" />
<Title order={2}>Market Checker</Title>
</Group>
</Header>
Expand Down