Refactored queries.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import Realtime from './Realtime';
|
||||
|
||||
export default function WebsiteRealtimePage({ params: { id } }) {
|
||||
if (!id) {
|
||||
export default function WebsiteRealtimePage({ params: { websiteId } }) {
|
||||
if (!websiteId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <Realtime websiteId={id} />;
|
||||
return <Realtime websiteId={websiteId} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user