Fix URL bar

This commit is contained in:
Gregory Schier
2023-03-13 00:13:25 -07:00
parent 0fa25c6335
commit 0c6fa3e634
3 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
import classnames from 'classnames';
import { Link } from 'preact-router';
import { useState } from 'react';
import { useRequestCreate, useRequestUpdate } from '../hooks/useRequest';
import { useTheme } from '../hooks/useTheme';

View File

@@ -23,7 +23,7 @@ export function UrlBar({ sendRequest, loading, onMethodChange, method, onUrlChan
>
<Input
hideLabel
// useEditor={{ useTemplating: true, contentType: 'url' }}
useEditor={{ useTemplating: true, contentType: 'url' }}
className="px-0"
name="url"
label="Enter URL"