Skip to content

Commit

Permalink
Fix jumpy animation when entering invalid name for custom icon
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegWock committed Apr 20, 2023
1 parent 4c72a01 commit f815c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Anori",
"description": "Customizable new tab: compose your own page from widgets",
"version": "1.5.0",
"version": "1.5.1",
"repository": "git@github.com:OlegWock/anori.git",
"author": "OlegWock <olegwock@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/newtab/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const Settings = () => {
{draftCustomIcons.map((draftCustomIcon) => {
const validName = isValidCustomIconName(draftCustomIcon.name) || draftCustomIcon.name.length === 0;
return (<motion.div
layout
layout="position"
layoutId={draftCustomIcon.id}
className='draft-icon-section'
key={draftCustomIcon.id}
Expand Down

0 comments on commit f815c49

Please sign in to comment.