Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Swap danger

Manav Rathi7236b24d96bc
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index 210fa01624..9f5f04b714 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -302,11 +302,11 @@ const EnablePublicShareOptions: React.FC<EnablePublicShareOptionsProps> = ({
{sharableLinkError && (
<Typography
variant="small"
- sx={(theme) => ({
- color: theme.colors.danger.A700,
+ sx={{
+ color: "critical.main",
mt: 0.5,
textAlign: "center",
- })}
+ }}
>
{sharableLinkError}
</Typography>
@@ -1461,11 +1461,11 @@ const ManagePublicShareOptions: React.FC<ManagePublicShareOptionsProps> = ({
{sharableLinkError && (
<Typography
variant="small"
- sx={(theme) => ({
- color: theme.colors.danger.A700,
+ sx={{
+ color: "critical.main",
mt: 0.5,
textAlign: "center",
- })}
+ }}
>
{sharableLinkError}
</Typography>