Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MinasukiHikimuna committed Oct 15, 2024
1 parent fa036b3 commit 7456258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Scenes/SceneDetails/PrimaryTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const PrimaryTags: React.FC<IPrimaryTags> = ({
</Button>
</div>
<div>
{typeof marker.end_seconds === 'number' && marker.end_seconds !== -1
{typeof marker.end_seconds === "number" && marker.end_seconds !== -1
? `${TextUtils.secondsToTimestamp(
marker.seconds
)}-${TextUtils.secondsToTimestamp(marker.end_seconds)}`
Expand Down
3 changes: 2 additions & 1 deletion ui/v2.5/src/components/Wall/WallItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ export const WallItem = <T extends WallItemType>({
const sceneMarker = data as GQL.SceneMarkerDataFragment;
const newTitle = markerTitle(sceneMarker);
const seconds =
typeof sceneMarker.end_seconds === 'number' && sceneMarker.end_seconds !== -1
typeof sceneMarker.end_seconds === "number" &&
sceneMarker.end_seconds !== -1
? `${TextUtils.secondsToTimestamp(
sceneMarker.seconds
)}-${TextUtils.secondsToTimestamp(sceneMarker.end_seconds)}`
Expand Down

0 comments on commit 7456258

Please sign in to comment.