fix(div): update class name to remove weird space afterwards (#763)
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
		@@ -5,6 +5,7 @@ import explorerStyle from "./styles/explorer.scss"
 | 
			
		||||
import script from "./scripts/explorer.inline"
 | 
			
		||||
import { ExplorerNode, FileNode, Options } from "./ExplorerNode"
 | 
			
		||||
import { QuartzPluginData } from "../plugins/vfile"
 | 
			
		||||
import { classNames } from "../util/lang"
 | 
			
		||||
 | 
			
		||||
// Options interface defined in `ExplorerNode` to avoid circular dependency
 | 
			
		||||
const defaultOptions = {
 | 
			
		||||
@@ -77,7 +78,7 @@ export default ((userOpts?: Partial<Options>) => {
 | 
			
		||||
  function Explorer({ allFiles, displayClass, fileData }: QuartzComponentProps) {
 | 
			
		||||
    constructFileTree(allFiles)
 | 
			
		||||
    return (
 | 
			
		||||
      <div class={`explorer ${displayClass ?? ""}`}>
 | 
			
		||||
      <div class={classNames(displayClass, "explorer")}>
 | 
			
		||||
        <button
 | 
			
		||||
          type="button"
 | 
			
		||||
          id="explorer"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user