-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fixes and refactoring collaboration module (#75)
* Refactor collaboration library to its own module * Add Loading Skeleton to Sidebar items * Remove demo page
- Loading branch information
1 parent
7af2717
commit f2e6a88
Showing
12 changed files
with
255 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
// FIXME Collaboration features not working correctly on React.StrictMode | ||
reactStrictMode: false, | ||
reactStrictMode: true, | ||
}; | ||
|
||
module.exports = nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,5 @@ function ActiveUsers() { | |
</div> | ||
); | ||
} | ||
|
||
export default ActiveUsers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import clsx from "clsx"; | ||
import { ComponentPropsWithoutRef } from "react"; | ||
|
||
function Skeleton({ | ||
children, | ||
className, | ||
...rest | ||
}: ComponentPropsWithoutRef<"div">) { | ||
return ( | ||
<div | ||
{...rest} | ||
className={clsx("animate-pulse rounded-lg bg-slate-700", className)} | ||
> | ||
{children} | ||
</div> | ||
); | ||
} | ||
|
||
export default Skeleton; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.