fix: remove away view (#14672)
* remove away view * remove yellow away dot * remove Away from Booker --------- Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
c0bc6f8ccb
commit
0ee81d0739
3 files changed
+33
-45
No files matched your search
@@ -24,7 +24,7 @@ import { LargeCalendar } from "./components/LargeCalendar";
|
||||
import { OverlayCalendar } from "./components/OverlayCalendar/OverlayCalendar";
|
||||
import { RedirectToInstantMeetingModal } from "./components/RedirectToInstantMeetingModal";
|
||||
import { BookerSection } from "./components/Section";
|
||||
import { Away, NotFound } from "./components/Unavailable";
|
||||
import { NotFound } from "./components/Unavailable";
|
||||
import { fadeInLeft, getBookerSizeClassNames, useBookerResizeAnimation } from "./config";
|
||||
import { useBookerStore } from "./store";
|
||||
import type { BookerProps, WrappedBookerProps } from "./types";
|
||||
@@ -466,8 +466,6 @@ const BookerComponent = ({
|
||||
};
|
||||
|
||||
export const Booker = (props: BookerProps & WrappedBookerProps) => {
|
||||
if (props.isAway) return <Away />;
|
||||
|
||||
return (
|
||||
<LazyMotion strict features={loadFramerFeatures}>
|
||||
<BookerComponent {...props} />
|
||||
|
||||
@@ -457,7 +457,6 @@ function UserDropdown({ small }: UserDropdownProps) {
|
||||
<span
|
||||
className={classNames(
|
||||
"border-muted absolute -bottom-1 -right-1 rounded-full border bg-green-500",
|
||||
user.away ? "bg-yellow-500" : "bg-green-500",
|
||||
small ? "-bottom-0.5 -right-0.5 h-2.5 w-2.5" : "-bottom-0.5 -right-0 h-2 w-2"
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user