From 988d8cb17e1e631c1375bb8968bcb84eeabb0ea7 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 12 Oct 2024 07:26:52 +0100 Subject: [PATCH] oops --- projects/website/src/components/score/score-buttons.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/website/src/components/score/score-buttons.tsx b/projects/website/src/components/score/score-buttons.tsx index 8a547d7..ac083f0 100644 --- a/projects/website/src/components/score/score-buttons.tsx +++ b/projects/website/src/components/score/score-buttons.tsx @@ -16,12 +16,12 @@ import ScoreEditorButton from "@/components/score/score-editor-button"; import ScoreSaberScoreToken from "@ssr/common/types/token/scoresaber/score-saber-score-token"; type Props = { - score: ScoreSaberScoreToken; + score?: ScoreSaberScoreToken; leaderboard: ScoreSaberLeaderboardToken; beatSaverMap?: BeatSaverMap; alwaysSingleLine?: boolean; - setIsLeaderboardExpanded: (isExpanded: boolean) => void; - setScore: (score: ScoreSaberScoreToken) => void; + setIsLeaderboardExpanded?: (isExpanded: boolean) => void; + setScore?: (score: ScoreSaberScoreToken) => void; }; export default function ScoreButtons({