Unverified Commit bbc5ac9f authored by Yoshino-s's avatar Yoshino-s Committed by GitHub

feat: make file uplaod support drag/drop (#1129)

parent 29b5c393
...@@ -170,7 +170,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => { ...@@ -170,7 +170,7 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {
Choose a file... Choose a file...
</label> </label>
<input <input
className="absolute inset-0 hidden" className="absolute inset-0 w-full h-full opacity-0"
ref={fileInputRef} ref={fileInputRef}
onChange={handleFileInputChange} onChange={handleFileInputChange}
type="file" type="file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment