username on creation
This commit is contained in:
@@ -32,6 +32,14 @@ const HitParade = () => {
|
||||
condition: true,
|
||||
});
|
||||
|
||||
console.log(
|
||||
"top songs",
|
||||
JSON.stringify(
|
||||
topSongs.map((song) => song.userId),
|
||||
null,
|
||||
2
|
||||
)
|
||||
);
|
||||
const { data: topPlaybacks } = useDataFromRef({
|
||||
ref: projectsRef.where("views", ">", 0).orderBy("views", "desc").limit(50),
|
||||
format: (docs) => docs.filter((d) => d?.playbackUrl != null).slice(0, 10),
|
||||
|
||||
@@ -146,6 +146,11 @@ const Home = () => {
|
||||
resetSelectedProject();
|
||||
setActiveStageIndex(0);
|
||||
if (songwriterAction?.route) {
|
||||
console.log(
|
||||
"navigating to",
|
||||
songwriterAction.route,
|
||||
songwriterAction.params
|
||||
);
|
||||
navigate(songwriterAction.route, songwriterAction.params);
|
||||
}
|
||||
}, [resetSelectedProject, songwriterAction]);
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Image, StyleSheet, View } from "react-native";
|
||||
import useMinuit from "react-native-minuit/src/hooks/useMinuit.js";
|
||||
import { ai } from "../../assets";
|
||||
import BorderGradientButton from "../../components/BorderGradientButton";
|
||||
import FullscreenIntroVideo from "../../components/FullscreenIntroVideo.web";
|
||||
import FullscreenIntroVideo from "../../components/FullscreenIntroVideo";
|
||||
import GradientButton from "../../components/GradientButton";
|
||||
import MusicLandHeader from "../../components/MusicLandHeader";
|
||||
import Page from "../../layouts/Page";
|
||||
|
||||
Reference in New Issue
Block a user