Skip to content

Commit

Permalink
remove autofocus from bag add name field
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleveille committed Jun 9, 2024
1 parent ce9b6d8 commit 2c7ac2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/bag/BagAdd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const BagAddForm = ({ name, setName, onChange, error }: BagAddFormProps)
onChange={onChange}
required
sx={{ width: "100%", maxWidth: "24rem" }}
autoFocus
spellCheck={false}
inputRef={inputRef}
InputProps={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/disc/Disc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Disc = ({ disc }: DiscProps) => {
background_color: backgroundColor
} = disc;

const outerGradient = backgroundColor === "#000000" ? "#555555" : "#222222";
const outerGradient = backgroundColor === "#000000" ? "#666666" : "#222222";

const gradient: React.CSSProperties = {
background: `radial-gradient(circle, ${backgroundColor} 45%, ${outerGradient} 90%)`
Expand Down

0 comments on commit 2c7ac2c

Please sign in to comment.