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

fix: [M3-8975] - Object Storage object uploader spinner spinning backwards #11384

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11384-fixed-1733733978349.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Object Storage object uploader spinner spinning backwards ([#11384](https://github.com/linode/manager/pull/11384))
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Typography, rotate360 } from '@linode/ui';
import AutorenewIcon from '@mui/icons-material/Autorenew';
import { styled } from '@mui/material/styles';
import { makeStyles } from 'tss-react/mui';

import UploadPending from 'src/assets/icons/uploadPending.svg';

import type { FileUploadProps } from './FileUpload';
import type { Theme } from '@mui/material/styles';

Expand Down Expand Up @@ -48,7 +47,7 @@ export const StyledRightWrapper = styled('div', {
display: 'flex',
}));

export const StyledUploadPending = styled(UploadPending, {
export const StyledUploadPendingIcon = styled(AutorenewIcon, {
label: 'StyledUploadPending',
})(({ theme }) => ({
animation: `${rotate360} 2s linear infinite`,
Expand Down
4 changes: 2 additions & 2 deletions packages/manager/src/components/Uploaders/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
StyledLeftWrapper,
StyledRightWrapper,
StyledRootContainer,
StyledUploadPending,
StyledUploadPendingIcon,
useStyles,
} from './FileUpload.styles';

Expand Down Expand Up @@ -113,7 +113,7 @@ export const FileUpload = React.memo((props: FileUploadProps) => {
width={22}
/>
) : (
<StyledUploadPending
<StyledUploadPendingIcon
data-qa-file-upload-pending
height={22}
width={22}
Expand Down
Loading