chore: format all files in monorepo (#3054)
* chore: format all files in the project * fix: removing @types/react from dependencies * fix: adding prettier and eslint config * chore: format files * fix: upgrading turbo version * chore: ignoring warnings and adding todos * fix: updated the type of bubble menu item in the document editor * chore: format files --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
parent
e5ae139178
commit
5b0066140f
721 changed files with 3739 additions and 4660 deletions
|
|
@ -37,18 +37,18 @@ export const WorkspaceDashboardView = observer(() => {
|
|||
);
|
||||
|
||||
const handleTourCompleted = () => {
|
||||
userStore.updateTourCompleted().then(() => {
|
||||
postHogEventTracker(
|
||||
"USER_TOUR_COMPLETE",
|
||||
{
|
||||
userStore
|
||||
.updateTourCompleted()
|
||||
.then(() => {
|
||||
postHogEventTracker("USER_TOUR_COMPLETE", {
|
||||
user_id: user?.id,
|
||||
email: user?.email,
|
||||
state: "SUCCESS"
|
||||
}
|
||||
)
|
||||
}).catch((error) => {
|
||||
console.log(error);
|
||||
})
|
||||
state: "SUCCESS",
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
@ -57,11 +57,11 @@ export const WorkspaceDashboardView = observer(() => {
|
|||
<ProductUpdatesModal isOpen={isProductUpdatesModalOpen} setIsOpen={setIsProductUpdatesModalOpen} />
|
||||
)} */}
|
||||
{user && !user.is_tour_completed && (
|
||||
<div className="fixed top-0 left-0 h-full w-full bg-custom-backdrop bg-opacity-50 transition-opacity z-20 grid place-items-center">
|
||||
<div className="fixed left-0 top-0 z-20 grid h-full w-full place-items-center bg-custom-backdrop bg-opacity-50 transition-opacity">
|
||||
<TourRoot onComplete={handleTourCompleted} />
|
||||
</div>
|
||||
)}
|
||||
<div className="p-8 space-y-8">
|
||||
<div className="space-y-8 p-8">
|
||||
{user && <UserGreetingsView user={user} />}
|
||||
|
||||
{projects ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue