mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
Update: Changed icon pack to Boxicons
This commit is contained in:
@@ -2,7 +2,7 @@ import Header from "../ui/Header";
|
||||
import styled from "styled-components";
|
||||
import { Link } from "react-router-dom";
|
||||
import IconButton from "../ui/IconButton";
|
||||
import { Settings } from "@styled-icons/feather";
|
||||
import { Cog } from "@styled-icons/boxicons-solid";
|
||||
import { Server } from "revolt.js/dist/api/objects";
|
||||
import { ServerPermission } from "revolt.js/dist/api/permissions";
|
||||
import { HookContext, useServerPermission } from "../../context/revoltjs/hooks";
|
||||
@@ -30,7 +30,7 @@ export default function ServerHeader({ server, ctx }: Props) {
|
||||
{ (permissions & ServerPermission.ManageServer) > 0 && <div className="actions">
|
||||
<Link to={`/server/${server._id}/settings`}>
|
||||
<IconButton>
|
||||
<Settings size={24} />
|
||||
<Cog size={24} />
|
||||
</IconButton>
|
||||
</Link>
|
||||
</div> }
|
||||
|
||||
Reference in New Issue
Block a user