Skip to content

Commit e2f81c1

Browse files
fix: prev code
1 parent 138daf0 commit e2f81c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/daily.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def daily(
1515
"""
1616
from .show import show
1717

18-
typer.echo(typer.style("Welcome to LeetCode Daily!", fg=typer.colors.GREEN))
1918
if editor not in ['code', 'vim', 'nano']:
2019
typer.echo(typer.style(f"❌ Unsupported editor: {editor}", fg=typer.colors.RED))
2120
raise typer.Exit(1)
@@ -29,7 +28,7 @@ def daily(
2928
typer.echo("\n" + typer.style(f"❌ Failed to fetch daily question: {str(e)}", fg=typer.colors.RED))
3029
raise typer.Exit(1)
3130

32-
show(problem=question['question']['titleSlug'], layout=True)
31+
show(problem=question['question']['titleSlug'])
3332

3433
if not no_editor and editor:
3534
try:

0 commit comments

Comments
 (0)