Skip to content

Commit

Permalink
fix: remove dynamic width of logo
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchan32 committed Apr 5, 2024
1 parent 0be4b7d commit bb5a68f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/LogoAndRegister/LogoAndRegister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ export default function LogoAndRegister({
const initialRegisterWidth = registerInfo!.width;

if (logoRef.current && fakeLogoInfo) {
console.log(fakeLogoInfo);
const fakeLogoWidth = fakeLogoRef.current
? parseInt(
window
.getComputedStyle(fakeLogoRef.current)
.getPropertyValue('width')
)
: 0;
logoRef.current.style.width = fakeLogoWidth + 'px';
logoRef.current.style.transform = `translate(${fakeLogoInfo.x}px, ${fakeLogoInfo.y - 20}px)`;
logoRef.current.style.opacity = '1';
setTimeout(() => {
Expand Down

0 comments on commit bb5a68f

Please sign in to comment.